JavaScript is the language of the web — it runs in every browser and on servers via Node.js. This course takes you from complete beginner to writing real programs, one concept at a time. Every line of code is explained in plain English. Every page has a live editor — run the code and see the output immediately.
The most important lesson comes early: === vs == (Lesson 8). Understanding the difference prevents more bugs than almost anything else in JavaScript.
Stage 1 — Getting Started 2 lessons ▾
What JavaScript is, where it runs, and how to write and execute your first programs.
Stage 2 — Core Language 7 lessons ▾
The building blocks: syntax, variables, types, strings, numbers, booleans, and comparison.
Stage 3 — Working with Data 3 lessons ▾
Control flow to make decisions, arrays to hold lists, and objects to hold structured data.
Stage 4 — Functions & Real Programs 4 lessons ▾
Functions, scope, closures, user I/O, and error handling — writing programs that actually do things.