
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore essentials of JavaScript ES6 with hands-on coding, tutorials, quizzes, animated explanations, and summaries to boost your resume and build ES6 projects.
Meet the instructor David as he introduces essentials in JavaScript ES6, offering a fun, clear introduction with videos, optional quizzes, coding breaks, and coding challenges.
Discover ES6, the Ecmascript 2015 update, with classes, modules, and new array and object syntax. See how Babel and Webpack enable ES6 coding across browsers and get started.
Extra notes:
You should have a code editor and a command line application.
For a code editor, the video shows Atom and Node. Another alternative, which I now recommend is Visual Studio Code: https://code.visualstudio.com/. If you use VSCode than I also recommend configuring it to open via the command line:
CMD-SHIFT-P
Enter “Shell Command”, and choose “Install ‘code’ command in path.
Then you can run $ code /folder to open folders in VSCode from your shell.
For a command line application, I recommend the native Terminal on Mac or Linux, and Git Bash for Windows
Learn to set up your development environment with Node, install Node and npm, verify installations via terminal or command prompt, and access JavaScript packages.
webpack is a module bundler that runs babel, converting es6 into browser-ready javascript, and bundles files into one bundle.js with a live-reloading dev server.
Set up a Webpack 4 project from scratch, create a src/index.js, configure npm scripts for start and build, and bundle code into dist/main.js to run in the browser.
Configure Babel with Webpack to transpile ES6 to ES5, install Babel core, Babel loader, and env preset, set up .babelrc and Webpack rules, and verify the local development server.
Learn ES6 by coding together, using a GitHub repo for reference, and exploring the lectures folder to uncomment code, tackle exercises, and reuse the Webpack and package.json setup.
Discover how ES6 introduces let, replaces var for mutable variables, and enables block scoping with standalone blocks, including private-like variables demonstrated by a salary example.
Master the ES6 spread operator to manipulate arrays and objects, replace concat with spread, and simplify function arguments by gathering into arrays.
Destructuring assignment extracts values from arrays into separate variables, assigning them in order. It can pair with the spread operator to capture the remaining elements.
Master destructuring assignment with objects in es6 by extracting magical and power from a wizard object using shorthand syntax and matching left-hand names to object keys.
Explore arrow functions in ES6, highlighting their anonymous by default nature and how named identifiers can reference them, with examples using set timeout and a blastoff invocation.
Explore the map function in ES6 to create an array by applying a callback to each element, with add-one example on 10, 20, 30 and arrow function demonstrating one-line return.
Learn the ES6 filter method, using arrow functions to filter an array of scores to those >= 70, and compare it with map and other helper methods.
Explore JavaScript modules in ES6 by exporting and importing variables across files, using an example with a students array and a total count, and verifying results with console.log.
Explore exporting data and functions in ES6 by creating a calculator module with add and multiply, importing them, and using a default export for the main function.
Learn how to declare an ES6 class with a constructor and parameters, access properties with this, add a greet method using a template string, and create an instance with new.
Learn inheritance in ES6 classes by extending an entity into a Hobbit, using super to set name and height, and overriding greet with a Shire-specific message.
Explore ES6 in a practical mini React app, focusing on JSX, component rendering with ReactDOM, and setting up the project with npm install and babel preset.
Explore ES6 promises in a React app by fetching weather data from OpenWeatherMap for a city, using an API key, componentDidMount, and updating the description via state.
If you approach some issues running 'npm start', then try the following fixes one at a time:
1) Install webpack globally with `npm install webpack -g'.
2) In webpack.config.js change the path in output to 'path: __dirname + '/build' as represented here: https://gist.github.com/15Dkatz/74ce0d5fb3b1982681973af2b59d8bcc
3) Clone the repo, run npm install and npm start and you should be good to go!
Lastly, don't hesitate to ask a question in the forum! I respond as soon as possible.
Turn yourself into a highly-demanded software engineer and developer by following this tutorial on JavaScript ES6. As one the most highly-paid languages, learning ES6 will open so many jobs and opportunities for you.
This course features a ton of diverse content, so you’ll learn ES6 in a stimulating, informative, and fun way.
Filmed tutorials will get you typing code yourself. And these videos will make sure to explain the reason behind each new line and keyword.
Optional quizzes and coding challenges reinforce key concepts. Also, coding breaks in each section let you approach the course at your own pace.
Jokes appear from time to time, especially in the breaks. So who knows, you might even slap your knee at some JavaScript humor!
If you’re still new, then this course gives a great intro to ES6. Or if you have a lot of experience, then you’ll find a nice overview of the language. Either way, this course if perfect for you!
Let’s take the dive into JavaScript ES6 and start coding!