Step 2 of 2 · your path
JavaScript, Beginner
Start at the bottom of the ladder — what the engine does with your code before line 1 runs, why one thread is enough, and then types, values, operators and functions.
Your progress
0 / 18 done
Up next
Setup & mental model
8 min read · 1 exercise
The order I'd read them in
About 2 h 33 min of reading. Tick off what you've read, it is remembered on this device.
- var, let and constThree keywords, four questions they answer differently — where a name lives, when you can touch it, whether it can change, and whether you can declare it twice.
2 exercises
- ScopeWhich names a line of code can see, why that is decided by where you wrote it, and how JavaScript finds a name — for reading and for writing.
2 exercises
- One thread, one stackWhy JavaScript can only do one thing at a time — and how it still does ten.
2 exercises
- Inside the browserFrom a script tag to pixels on screen — and where your code sits in that.
2 exercises
- Types & valuesEight types, one conversion table, and the equality check that never stops mattering.
- Strings, numbers & MathThe everyday toolbox every other chapter quietly assumes you already have.
- Callbacks, then promisesHanding work to someone else, and getting the answer back later.
- Errors & toolsThe last lesson before the beginner project — reading what the engine is trying to tell you.
2 exercises
- Guided project: build a to-do appEverything from the beginner chapters, in one small thing that works.
2 exercises
- The cheat pageNot another lesson — the night-before-the-interview skim of the other 38.
Practice at this level
Every exercise opens in the editor with tests you can run.
- Types & values · 9 tests
- Types & values · 10 tests
- Types & values · 10 tests
- Operators & flow · 8 tests
- Closures · 8 tests
- Execution context · 8 tests
- Execution context · 8 tests
- var, let & const · 8 tests
- var, let & const · 8 tests
- Scope · 8 tests
- Scope · 8 tests
- Single thread · 8 tests
- Single thread · 8 tests
- In the browser · 8 tests
- In the browser · 8 tests
- this · 8 tests
- this · 8 tests
- Strings & Math · 10 tests
- Strings & Math · 9 tests
- Strings & Math · 9 tests
- Setup & mental model · 9 tests
- Functions · 9 tests
- Functions · 10 tests
- Objects & arrays · 10 tests
- Objects & arrays · 10 tests
- DOM & events · 10 tests
- DOM & events · 9 tests
- Callbacks & promises · 8 tests
- Callbacks & promises · 8 tests
- Errors & tools · 10 tests
- Errors & tools · 9 tests
- Guided project · 8 tests
- Guided project · 8 tests
- Callbacks & promises · 8 tests