A JavaScript learning and reference site
Learn JavaScript deliberately. Look things up precisely.
Every important concept here is reachable two ways: as a guided lesson that builds a mental model step by step, and as a reference entry you can jump straight to when you already half-remember it. Core content works without client-side JavaScript, and every example states which runtime — browser, Node, or both — it assumes.
Three tiers, increasing independence
The tiers represent depth, not personal worth — an experienced engineer in another language may still start in Beginner for JavaScript-specific behavior.
Beginner
Values, control flow, functions, arrays and objects, errors, the DOM, and your first async code.
Intermediate
Closures, prototypes and classes, functional techniques, async in depth, and application architecture.
Advanced
Specification literacy, engine internals, concurrency, security, and large-system design.
Try a prediction question
Lessons regularly ask you to predict what a short program will do before you find out — a habit that builds a real mental model instead of pattern-matching on syntax.
Or reveal the answer without checking
Answer:"105"
score starts as the string "10". + between a string and a number coerces the number to a string and joins them, so score becomes "105" — not 15. This is why lessons teach === and explicit coercion before relying on +.
Who this is for
You're new to programming
Start in the Beginner tier — every concept is introduced before it's used, and nothing assumes prior experience with another language.
You know another language
Skim the diagnostic on the Learn page to find where JavaScript's specific behavior — types,this, the event loop — actually differs from what you already know.
You need a precise answer now
Skip the lessons and go straight to Reference — every entry is scannable on its own and links back to the lesson that teaches it in context.
How the site is organized
Lessons follow a consistent shape: why it matters, a mental model, worked examples, common mistakes, guided and independent practice, and a summary of durable rules of thumb. Reference pages lead with a one-sentence purpose and a minimal example, then cover syntax, edge cases, and runtime notes. Content is readable at any zoom level, fully usable by keyboard, and never relies on color alone to convey meaning.