Beginner · Free · In your browser
Learn JavaScript in the Browser
Put JavaScript to work in real web pages. Find and change elements safely and build them from data and templates; react to clicks, keys and forms; keep state, render it and remember it with localStorage; make changes accessible; load and send data with fetch, with loading, error and retry states; then add a debounced search, confirmation dialogs, keyboard shortcuts and timers, and finish with a course catalogue that brings it all together.
No installation. Your code runs right in the browser. Finish JavaScript Foundations first, or be comfortable with variables, functions, arrays, objects and loops. Basic HTML and CSS help too.
What you will be able to do
- Find, create and change elements safely with the DOM
- Handle clicks, keys and forms with events and delegation
- Keep state, render it, and remember it with localStorage
- Load and send data with fetch, with loading, error and retry states
Course outline
The page is a tree
Find, change and create elements safely, from data and templates.
Respond to people
Clicks, the event object, one listener for a whole list, and forms.
State, storage and accessibility
Render from state, remember with localStorage, accessible updates, and a shopping list project.
Talk to a server
Load data with fetch, loading and error states, and sending data.
Smoother interactions
A debounced search, confirmation dialogs, and keyboard shortcuts.
Timers and the capstone
Intervals and a countdown, then a complete course catalogue.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning JavaScript in the Browser →