background preloader

JS

Facebook Twitter

iType.js | Javascript animated typing, with no dependencies. Verekia/js-stack-from-scratch: Step-by-step tutorial to build a modern JavaScript stack from scratch. A Simple Route to Writing a React.js App in a WordPress Plugin | WPShout. Ly Academy. Codecademy Launches Free ReactJS Courses – WordPress Tavern. Codecademy, the free interactive coding education site, has launched a new ReactJS course. For the past five years, the site’s free, self-guided courses have attracted more than 25 million students.

Codecademy recently partnered with the White House as part of the TechHire initiative to promote more diverse entrepreneurship in the tech industry through coding education. The site’s catalog includes basic courses like HTML and CSS fundamentals and programming language courses for JavaScript, Ruby, Python, and PHP. In August 2014, the learning environment at Codecademy was overhauled to use React.js and members have been asking for a React course since that time. According to Bonnie Eisenman, former Codecademy engineer and author of Learning React Native, the team chose React.js for the project because it makes it easy to build and test individual components in isolation.

Learn ReactJS: Parts I and II teach students how to build React applications in 11 hours of course time. Like this: React.js Introduction For People Who Know Just Enough jQuery To Get By · React for Designers. Updates: Jul 15, 2016: Updated for React 15. I also heard React.js was good and recently spent some time playing with it. Now that I’m pretty comfortable with React, I decided to write a tutorial on this subject. Target Audience: People Who Know Just Enough jQuery to Get by Before I begin, I’d like to clarify who my target audience is.

Zed Shaw, the author of “Learn Code the Hard Way” series, recently wrote an excellent blog post called Early v.s. I don’t want to make a similar mistake here. In this tutorial, I’m targeting the third group I mentioned: people who know just enough jQuery to get by. Designers who can do basic coding in HTML/CSS/jQuery. If you’re comfortable with JavaScript or any of the frontend frameworks like Backbone/Ember/Angular, this tutorial is NOT for you, and you’ll be very frustrated with my writing style. Also, if you already know React, you’ll be pretty upset with me as well because I’ll be talking mostly about states instead of immutability or componetization. Slick - the last carousel you'll ever need. Set up your HTML markup. <div class="your-class"><div>your content</div><div>your content</div><div>your content</div></div> Move the /slick folder into your project Add slick.css in your <head> <link rel="stylesheet" type="text/css" href="slick/slick.css"/> // Add the new slick-theme.css if you want the default styling <link rel="stylesheet" type="text/css" href="slick/slick-theme.css"/> Add slick.js before your closing <body> tag, after jQuery (requires jQuery 1.7 +) Initialize your slider in your script file or an inline script tag When complete, your HTML should look something like: NOTE: I highly recommend putting your initialization script in an external JS file.

Set up your HTML markup. <div class="your-class"><div>your content</div><div>your content</div><div>your content</div></div> Move the /slick folder into your project Add slick.css in your <head> Add slick.js before your closing <body> tag, after jQuery (requires jQuery 1.7 +) When complete, your HTML should look something like: How React Do? I like doing things from total scratch, or at least what seems like total scratch to me. For this reason a lot of modern javascript has baffled me. I can’t keep up with all the frameworks because I always want to know what’s going on at the root of things. I think this is maybe a laudable impulse, but I have a lot of FOMO with all the new hotnesses because I just don’t have the patience or time to learn all the API’s before some other thing comes along. In practice, I really would like to be better at javascript, but the number of possible entry points can be overwhelming.

I spend a lot of my time as a product engineer writing javascript, and sometimes, I write really bad javascript! I know that thinking about front end development in a more modern, coherent way would benefit me whether I’m working in a framework or not, but I’ve been waiting for something to grab me- some project or idea that really makes me want to learn the ins and outs of the language. Table of Contents: <! Ok. Lol. <! Introduction - vue.js. Sponsored By What is Vue.js? Vue (pronounced /vjuː/, like view) is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is very easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with modern tooling and supporting libraries.

If you are an experienced frontend developer and want to know how Vue compares to other libraries/frameworks, check out the Comparison with Other Frameworks. Getting Started The easiest way to try out Vue.js is using the JSFiddle Hello World example. Declarative Rendering At the core of Vue.js is a system that enables us to declaratively render data to the DOM using straightforward template syntax: Hello Vue! We have already created our very first Vue app! Now you see me. A Comprehensive Look at jQuery Selectors. This article was peer reviewed by Matt Smith and Tim Severien. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Whether you want to manipulate the content of an element on a web page, attach an event to it, or do something else, you will need to select it first. This is where jQuery selectors come into play: they form a crucial part of the library.

In this tutorial, I will cover all of these selectors and point out important things that you need to keep in mind while using them. jQuery Selectors The main purpose of these selectors is to select elements on a web page that meet certain criteria. Basic selectors You can select elements on a webpage using their ID $("#id"), their class $(".class") or their tag name $("li") .

jQuery also offers few other basic selectors that I have listed below: :header Selector — Let’s say you have to select all the headings like <h1>, <h2>, <h3>in a <section>. Index-based selectors Child selectors Attribute selectors. IziModal.js. Barba.js. Barba.js uses PJAX (aka push state ajax) to enhance the user's experience. This technique consist of preventing the normal link behavior, changing the browser url manually, and manually injecting the new content in the page.

In this way there will be no browser "hard refresh". Here is a walkthrough of what happens when the user clicks a link: Check if the link is valid and eligible for PJAX. If yes, prevent the normal browser behavior. Change the URL using the push state API. Start fetching the new page via a XMLHttpRequest. In order to have a better understanding on how Barba.js works I suggest you to read this article I wrote for Smashing Magazine. Please note: on the server side your pages will need to be served normally. Using this technique will bring numerous benefits: Possibility to create nice transition between pages enhancing the user's experience.

An Introduction To Redux. Redux1 is one of the hottest libraries in front-end development these days. However, many people are confused about what it is and what its benefits are. As the documentation2 states, Redux is a predictable state container for JavaScript apps. To rephrase that, it’s an application data-flow architecture, rather than a traditional library or a framework like Underscore.js and AngularJS.

Redux was created by Dan Abramov around June 2015. It was inspired by Facebook’s Flux and functional programming language Elm. Redux is used mostly for application state management. How Is It Different From MVC And Flux? To give some perspective, let’s take the classic model-view-controller (MVC) pattern, since most developers are familiar with it. Flux is very similar to Redux. Benefits Of Redux Link You may be asking, “Why would I need to use Redux?” Functional Programming Link As mentioned, Redux was built on top of functional programming concepts.

Where Can Redux Be Used? Building Parts Of Redux Link 1. Adam-s/js-interview-review: The JS interview review. As I'm reviewing several resources I've bookmarked on JavaScript development, I'll share them here. Vanilla List: The Vanilla Javascript Repository. Easy Fullscreen HTML5 Background Video. Simplified JavaScript Jargon.

Why React? Why not Angular 2? – Angularity. As Angular 1.x gets older and Angular 2 picks up steam, many 1.x developers are wondering what to do next. Should you pick Angular 2? Maybe React? Something else? I’ve also gotten some questions from readers recently about why I’ve been starting to write about React instead of Angular 2. Why React over Angular 2? Imports and Dependency Injection Right away it seemed very complicated to write. That’s 4 times typing the same name before I can even use it for anything. Oh and one more place: when you bootstrap the app, you have to give it a list of providers for things you’ll want to inject later. The reason for all this is to wire up the dependency injection system.

With Angular 1, we needed that DI system because it also doubled as a module system. Testing gets a little harder without framework-level dependency injection, but there are some solutions out there. Angular-specific Syntax One of the oft-cited benefits to Angular is that it’s more approachable for our non-coding brethren. React. Tools to Learn JavaScript By Doing -Telerik Developer Network. …or how solving code puzzles can be your path to enlightenment. Whenever I’m asked how a developer can learn more about a particular language, I stress that it’s crucial to find the technique that works best for you. Most folks can think of a few immediate ways to pick up a new language: BooksConferencesClassroom study While these work, they’ve always had a few drawbacks for me. When it comes to books, I find that they are only effective if I read them while I’m sitting by my computer.

I need to be able to immediately try out code and “play” with it in order for things to sink in. Because I love reading so much, I actively try not to read by my computer. Conferences are great, but typically they give you a 60 minute intro to a language or topic, and at best inspire you to work on it more on your own time. And of course – actually spending time in a classroom can be incredibly productive. In this article, I’m going to discuss a few different ways you can learn JavaScript by doing it. List.js - Search, sort, filters, flexibility to tables, list and more! 12 Experts to Help Jumpstart Your JavaScript Learning. JavaScript is a red-hot topic for WordPress developers right now and for many, diving more fully into the language is a New Year’s resolutions. As WordPress looks set to move away from its reliance on PHP thanks to the emergence of the REST API and WordPress.com’s Calypso desktop app, it’s a race to find the right resources to learn JavaScript.

And while some people learn best reading written tutorials, others study better socially. So in this article, we’ll introduce you to 12 coding gurus you can follow to jumpstart your year of JavaScript learning. Is JavaScript the Future of WordPress? 2015 was the year that JavaScript’s increasing front end dominance worldwide finally started making itself felt in the world of WordPress. The gradual integration of the REST API into core had been pointing the way to integrations with non-PHP scripting languages for some time, but it was the surprise release of Calypso at the tail end of the year that really made it clear which way the wind is blowing.

A Guide to 2016 Front End Conferences. It's difficult to keep track of all of the great talks and conferences happening in our industry. Sometimes you may find out too late that an event is taking place, and it's a real shame when it's an something you might have attended. We've compiled this list so you can see what's happening, both in your hometown, and abroad. This list will be updated throughout the year. January JS Remote Conf Date: January 14-16Location: OnlineTheme: JavaScriptLink: SVG Summit Date: January 21Location: OnlineTheme: SVGLink: $120 - $179 February Forward Date: February 10Location: San Francisco, CALink: ForwardJS.comTheme: JavaScriptPrice: $179 Webstock Date: February 11Location: Wellington, New ZealandLink: $1195 - $1595 (Though workshops are as low as $395) React.js Conf Date: February 22Location: San Francisco, CALink: ReactJSPrice: $200 JavaScript Summit March April.

HugoGiraudel/SJSJ. Jump.js. jQuery's Relevancy - There and Back Again -Telerik Developer Network. Because of the mounting you-don’t-need-jQuery sentiment as of late, I can’t help but think we have forgotten the basic value of jQuery. So I think it is time to remember. In this article, I’m going to remind everyone what exactly jQuery is, because I believe that jQuery is as relevant today as it was when it was first written. The question relevancy should be tied to the original intent of the solution (i.e. the jQuery API itself) and not browser bugs or missing features.

If we suggest otherwise, we run the risk of fueling a perspective that could be used to dismiss any abstraction that is not required, but none the less still powerful and helpful. Before I get too far into defending jQuery’s relevancy, let’s first journey from the beginning again and back so that everyone is clear on the “what” and “why” of jQuery. What Is JQuery? To be clear: Wrap all of this up into a simpler, less buggy, API than the native DOM API provides and you have jQuery. jQuery('h2:eq(1)').hide();

Xavi/miss-plete. BackstopJS: Automated screenshot tests for responsive sites. AllThingsSmitty/jquery-tips-everyone-should-know. Williamngan/roll. Recipes for Randomness in JavaScript. Random behaviour is often required in JavaScript, from drawing stars scattered across the night sky to animating chaotic attractors. But there are many different kinds of randomness, and the type you need will differ depending on the application. Basic Randomness The simplest form of randomness is the Math.random() function built into JavaScript. In the console: > Math.random()0.19401081069372594 Math.random() always returns a floating-point number between 0 and 1.

Because it’s so frequently used, Math.random() is often placed inside its own function in a script: function getRandom() { return Math.random();} The problem, of course, is that the function will always create a random number within a very limited range; most of the other code recipes on this page are designed to address this. Randomness Between Numbers: Min Included, Max Excluded Extending this functionality requires a little bit of math: Floating Point Integer Random Integer In Range, Both Min & Max Included Random With Exclusions.

Justified.js. About Justified.js jQuery Plugin to Create Justified Images Grid Justified.js is a jQuery plugin that creates a justified image grid of supplied images. Fill all the spaces! This ineffect creates a elegant image gallery with various sizes of images, where all the images of a row to have the same height. Ideally, Justified.js tries to show images without modifying its aspect ratio and without cropping them. But want a disposition of the images without cropping them. But, when limited by the maximum row size it sometimes crop images to fill the grid. How to Use Lets see some code To get started you'll have to include jquery.justified.images.js and jquery.justified.images.css files in your html file.

After this you'll have to intialize this plugin for and container. Options See configuration options Options can also be set programatically, by passing an options hash to the justifiedImages method. Rain & Water Effect Experiments. Popmotion - JavaScript animation, physics and input tracking. Babel · The transpiler for writing next generation JavaScript. jQuery UI. A Gentle Introduction to Ember 2.0. ES6 Overview in 350 Bullet Points. jQuery Learning Center. 10 Free JavaScript Tools To Create Interactive Maps. Gratuit : Découvrir Meteor JS avec JavaScript sur Tuto.com. Zenorocha/clipboard.js. Six Simple Mind Tricks to Help You Learn JavaScript Faster. Typeset.js – an HTML pre-processor for web typography. 25+ Free and Sought-After jQuery Plugins. What forces layout/reflow in Chrome. The comprehensive list.

01 - Premiers pas avec AngularJS (gratuit) avec AngularJS sur Tuto.com. Getify/You-Dont-Know-JS. Want to learn JavaScript in 2015? Comparing AngularJS and React. Mattdesl/promise-cookbook. Exploring Angular 2 by thoughtram. Learn the Single Page App Way. The State of Front-End Tooling – 2015 - AshleyNolan.co.uk - Blog and Portfolio for Ashley Nolan. JavaScript. Longevity (or Lack Thereof) in JavaScript Frameworks. The ES6 Conundrum. 3 animation techniques UX designers need to know | UX. Les ressources JS de l'été : des task runner pour automatiser vos process. Create a new fiddle - JSFiddle. Lexical grammar. Référence JavaScript. Backbone.js • TodoMVC. Dynamics.js: JavaScript Physics-based Animations Library.

35+ Excellent jQuery Animation Techniques and Tutorials. Auto-Split Input Fields.