Learn JavaScript.
Six chapters from values and functions through arrays, objects, the DOM, events, promises, APIs, modules, classes, storage, and testing.
JavaScript curriculum
Create interactive web experiences and work confidently with asynchronous data.
Values, Variables & Functions
Run JavaScript in the browser, model values with clear variables, use operators and coercion carefully, and organize behavior into reusable functions.
Open chapter →JAVASCRIPT02Control Flow & Robust Functions
Direct execution with conditions and loops, handle uncertain input, and build functions that are predictable across normal and edge cases.
Open chapter →JAVASCRIPT03Arrays, Objects & Data Transformation
Represent collections and records, transform arrays declaratively, destructure data, and avoid accidental mutation.
Open chapter →JAVASCRIPT04DOM, Events & Forms
Connect JavaScript to documents, select and update elements, respond to events, validate forms, and build accessible interactive interfaces.
Open chapter →JAVASCRIPT05Promises, APIs & Error Handling
Understand asynchronous execution, compose promises, fetch remote data, cancel stale requests, and present loading, success, empty, and error states.
Open chapter →JAVASCRIPT06Modules, Classes, Storage & Testing
Organize a maintainable application with ES modules, model behavior with classes when appropriate, persist local data, and test pure logic.
Open chapter →