JavaScript
The language of the web.
Beginner18 lessons≈3 h 56 min total
Start this trail
Begins with: What is JavaScript?
Trail map
Camp 1
First steps
Meet JavaScript and make the browser talk.
Camp 2
Variables & types
let, const, and the building-block types of JavaScript.
Camp 3
Control flow
Teach your programs to decide and repeat.
- if, else, and else ifOn the trail map
- while and for loopsOn the trail map
- Loop patterns and pitfallsOn the trail map
Camp 4
Functions
Reusable logic, from classic functions to arrows.
- Declaring functionsOn the trail map
- Parameters and return valuesOn the trail map
- Arrow functionsOn the trail map
- Scope and a peek at closuresOn the trail map
Camp 5
Arrays & objects
JavaScript's two power tools for structuring data.
- ArraysOn the trail map
- map, filter, and friendsOn the trail map
- ObjectsOn the trail map
- Project: quiz logicOn the trail map