👋 New to JavaScript? Start here.
Follow this path in order — each step builds on the last.
Your learning path
📑 Reference Pages
Deep dives into each part of JavaScript. Read when you need to understand something properly, or use as a lookup while coding.
JavaScript Overview
What JS is, how the engine works, event loop, ecosystem.
Variables & Types
var/let/const, dynamic typing, type coercion, typeof.
Functions & Scope
Declarations, arrow functions, closures, hoisting, IIFE.
Async JavaScript
Promises, async/await, fetch, event loop, microtasks.
DOM & Events
Selecting elements, event listeners, manipulation, delegation.
OOP & Prototypes
Classes, prototype chain, this, inheritance, mixins.
Modules
import/export, ES modules vs CommonJS, bundlers.
▶ Run Code & Copy Snippets
Copy ready-to-use code patterns or run JavaScript right in your browser.
🛠 Projects
The Number Guessing Game and To-Do List are available in JavaScript. More Python projects run in-browser too.
📊 Go Further
Compare JavaScript to Other Languages
Side-by-side syntax comparison across all 11 languages on The Codex.
History of Programming Languages
How JavaScript came to be, what problems it solved, and how it fits the bigger picture.
Programming Glossary
Plain English definitions for 80 terms — variable, function, loop, class, API, and more.