16 parts
Learn JavaScript from zero: variables, functions, arrays, objects, the DOM, events, and async — every lesson runnable live in your browser.
What JavaScript is, where it runs (browser and server), and why it's the language of the web, with live code you run in the very first minute.
7 min read
How to store data in JavaScript with let and const (and why to skip var), plus block scope basics, runnable live in your browser.
8 min read
The core JavaScript data types (number, string, boolean, null, undefined) and how typeof works, explained with live runnable examples.
Work with text in JavaScript: string methods, concatenation, and template literals for clean interpolation, with runnable examples throughout.
Arithmetic, comparison and logical operators, plus if/else and the ternary. Make decisions in JavaScript, with live runnable code you can edit.
Repeat work in JavaScript with for, while, for...of and for...in loops. When to use each, with live runnable examples.
Define and call JavaScript functions: parameters, return values, default parameters, and why functions are the heart of the language.
6 min read
Arrow functions vs regular functions, plus block scope and closures in plain English, with live, runnable JavaScript examples.
9 min read
Store lists in JavaScript arrays: indexing, adding and removing items, and the most useful array methods, runnable in your browser.
Transform arrays the modern way with map, filter and reduce. Clear examples of each, runnable live in your browser.
Model real things with JavaScript objects: properties, methods, dot vs bracket access, and a first look at this, with live code.
Use JavaScript to read and change a web page: select elements, edit text and styles, and create nodes, all with a live preview.
Respond to users with JavaScript events: addEventListener, the event object, clicks and input. Build interactivity, live in your browser.
Understand asynchronous JavaScript: callbacks, the problem they cause, and how Promises fix it, with live, runnable examples to try.
Write clean asynchronous JavaScript with async/await and fetch real data from an API, with live, runnable examples.
Put it all together: build a small interactive quiz app in vanilla JavaScript, using DOM, events, and state, runnable in your browser.
10 min read