Learn JavaScript
A free learning path through 393JavaScript tutorials on this site.
JavaScript is the programming language of the web, and the first language I recommend learning if you want to build websites and web apps.
This page is the best place to start. I organized my JavaScript tutorials into a learning path you can follow in order, from the very basics to the more advanced parts of the language. Pick the first topic you don’t know well, and go from there.
Free resources
- JavaScript Handbook — the free ebook, downloadable as PDF and EPUB
- JavaScript Quiz Course — test yourself with a free quiz course, no signup
- TypeScript Masterclass — my premium course on the topic
Start here: the fundamentals
What JavaScript is, values and types, variables, operators, and the basic building blocks of every program.
Functions, scope and closures
How functions work, how scope is resolved, and the concepts behind closures, hoisting, and arrow functions.
Objects and arrays
Working with data: arrays and their methods, destructuring, and the spread operator.
Asynchronous JavaScript
The event loop, callbacks, promises, and async/await: how JavaScript handles things that take time.
this, classes and modules
The trickier parts of the language: how this works, prototypes, classes, and ES modules.
JavaScript in the browser
Using JavaScript to interact with web pages: the DOM, events, and network requests.
Going deeper
Dates, regular expressions, error handling, and the parts of JavaScript you’ll meet as you get more experienced.
JavaScript tools
Free browser-only tools to practice and get things done faster.
More JavaScript tutorials
This learning path is a curated selection. Browse all 393 JavaScript tutorials on this site.