Learn JavaScript — the language that brings web pages to life — by running it in the browser with nothing to install. From variables, control flow, arrays, objects and functions through to the DOM, async code and classes. Fifty lessons that take you to the point where you can read code, write it, and fix it yourself.
about 9.5 hours in total (estimate)
The 50 lessons are grouped into seven chapters. Working through them in order is the best way, but you are welcome to dip into whatever interests you. From chapter 5 (the DOM) onwards you can preview a working page on the spot as you follow along.
Take this chapter's review quiz ›
Grasp what JavaScript is responsible for, then cover script tags, variables, data types, strings and numbers. Come out the other side and you can write code and run it in the browser.
Take this chapter's review quiz ›
Branch with if and switch, repeat with for and while. You gather the tools that give a program its flow, and finish by building a number-guessing game.
Take this chapter's review quiz ›
Arrays and objects, then map, filter and reduce. Once you can handle several pieces of data at once, the range of things you can write grows enormously.
Take this chapter's review quiz ›
Give a piece of work a name and pull it out. You cover arrow functions, scope, closures and this, then tidy long code by splitting it into functions.
Take this chapter's review quiz ›
From here on you are moving things on screen. You learn to find elements, change them and handle events, and finish by assembling a to-do list.
Take this chapter's review quiz ›
Starting from exception handling and moving on to promises, async/await and fetch. By the end you can fetch data from a server and put it on the page.
Take this chapter's review quiz ›
Classes and inheritance, splitting into modules, localStorage, and debugging technique. This chapter hands you the map for everything beyond the course.
Once you have finished all 50 lessons, move on to a framework (Next.js) or typed development (TypeScript). Membership unlocks every course.