Learn JavaScript by writing real code
Build interactive web apps with the language of the web.
Each chapter explains one idea, shows a worked example and then asks you to write and run your own JavaScript code in the browser, with tests that check your answer.
The JavaScript course is free: every chapter, example and exercise is open without a membership.
JavaScript chapters
- Variables
- Conditionals
- Loops
- Arrays
- Functions
- Events
- Objects
- The DOM
- Fetch & APIs
- Async & Await
- Classes
- Modules
- Map & Set
- Closures
- Error Handling
- Regular Expressions
- Destructuring & Spread
- Node & npm
- Iterators & Generators
- Testing Your Code
- Debugging Like a Detective
- Reading Other People’s Code
- Performance: Measure, Then Optimize
- Security Basics
- Writing Production-Grade Code
- Capstone: Design a Small System