A free, step-by-step path to master JavaScript, from how the language runs to the APIs of the web platform.
Photo by Paula May on Unsplash
JavaScript has thousands of tutorials but few clear paths through them. This curriculum puts the best free articles, videos, and books in order, from the core language to the tools you use every day.
- Keep one main reference open while you learn: javascript.info or the MDN JavaScript Guide.
- Follow the stages in order. Each section has a short summary and a list of resources.
- After each stage, build a small project that uses what you learned.
| Icon | Meaning |
|---|---|
| π | Article or documentation |
| πΉ | Video |
| π | Course or video series |
| π | Book |
| β | Recommended |
| π² | Paid |
| Stage | Sections |
|---|---|
| 1. The core language | Core concepts Β· How JavaScript runs |
| 2. Functions and paradigms | Objects and functions Β· Object-oriented programming Β· Functional programming |
| 3. Asynchronous JavaScript | Callbacks, promises, and async/await |
| 4. Web APIs | DOM and events Β· Network requests Β· Storage Β· Files Β· Drag and drop Β· Animation Β· Audio and video Β· Time and date Β· Payments Β· Web components Β· WebRTC Β· Progressive web apps |
| 5. Tooling | Modules and build tools Β· Code quality Β· Testing |
| 6. Architecture | Design patterns Β· Data structures and algorithms Β· Frameworks and libraries |
| 7. Beyond the browser | TypeScript Β· Node.js |
| Extra | Interview preparation Β· Where to go next |
Learn the syntax, the types, and the rules of the language.
- β π The Modern JavaScript Tutorial - javascript.info.
- β π JavaScript Guide - MDN.
- π ES6 Overview in 350 Bullet Points - Pony Foo.
- π 7 Tips to Handle undefined in JavaScript - Dmitri Pavlutin.
- π Learning Advanced JavaScript - John Resig.
Learn what the engine does with your code: the call stack, the event loop, and memory.
- β πΉ What the heck is the event loop anyway? - Philip Roberts, JSConf EU.
- πΉ In The Loop - Jake Archibald, JSConf.Asia.
- π JavaScript Visualized: the JavaScript Engine - Lydia Hallie.
- π JavaScript's Memory Management Explained - Felix Gerschau.
- π How browsers work - web.dev.
Arrays, objects, and functions are the building blocks of every paradigm. Learn them well before you go deeper.
- πΉ An Encounter with JavaScript Objects - Fireship.
- π Function Declarations vs. Function Expressions - JavaScript, JavaScript.
- π Objects: the basics - javascript.info.
Object-oriented programming builds software from objects. Each object holds data (fields) and the code that works on that data (methods).
- β π Classes - javascript.info.
- π Prototypal inheritance - javascript.info.
- π Whatβs the Difference Between Class and Prototypal Inheritance? - Eric Elliott.
- πΉ Object-oriented Programming in 7 minutes - Mosh.
- πΉ Object-oriented Programming in JavaScript: Made Super Simple - Mosh.
- πΉ JavaScript OOP Crash Course (ES5 and ES6) - Traversy Media.
- πΉ Object Oriented vs Functional Programming with TypeScript - Fireship.
- π Modular JavaScript - LearnCode.academy.
Functional programming builds software from pure functions. It avoids shared state, changing data, and side effects. Data flows through the functions.
- β π What is Functional Programming? - Eric Elliott.
- π What is a Pure Function? - Eric Elliott.
- π What is a Closure? - Eric Elliott.
- π What is Function Composition? - Eric Elliott.
- π The Two Pillars of JavaScript - Eric Elliott.
- π Composing Software: The Book - Eric Elliott.
- π JavaScript Callbacks Explained Using Minions - freeCodeCamp.
- π Understanding Immutability in JavaScript - CSS-Tricks.
- π Four Ways to Immutability in JavaScript - dev.to.
- π How to Deep Copy Objects and Arrays in JavaScript - JavaScript in Plain English.
- π structuredClone() - MDN. The built-in way to deep copy.
- πΉ JavaScript Higher Order Functions and Arrays - Traversy Media.
- πΉ Learning Functional Programming with JavaScript - Anjana Vakil, JSUnconf.
JavaScript runs on one thread. Asynchronous code lets it wait for a network request or a timer without freezing the page.
- β π Promises, async/await - javascript.info.
- π Asynchronous JavaScript - MDN.
- π What is a Promise? - Eric Elliott.
- πΉ Async JS Crash Course: Callbacks, Promises, Async Await - Traversy Media.
- πΉ The Async Await Episode I Promised - Fireship.
Before you start, look at What Web Can Do Today. It shows which device features a web page can use.
- β π Document - javascript.info.
- π Introduction to events - MDN.
- π JavaScript DOM Crash Course - Traversy Media.
- πΉ Learn DOM Manipulation In 18 Minutes - Web Dev Simplified.
- πΉ Learn JavaScript DOM Traversal In 15 Minutes - Web Dev Simplified.
- πΉ Learn JavaScript Event Listeners In 18 Minutes - Web Dev Simplified.
A page talks to a server over HTTP, WebSocket, or WebRTC. The browser gives you fetch(), XMLHttpRequest, and WebSocket to do it.
- β π Using the Fetch API - MDN.
- π The WebSocket API - MDN.
- πΉ Fetch API Introduction - Traversy Media.
- πΉ AJAX Crash Course (Vanilla JavaScript) - Traversy Media.
- πΉ Axios Crash Course - Traversy Media.
- πΉ Sending JavaScript HTTP Requests with XMLHttpRequest - Academind.
- πΉ Sending JavaScript HTTP Requests with the fetch() API - Academind.
- πΉ Sending JavaScript HTTP Requests with Axios - Academind.
- β π Web Storage API - MDN.
localStorageandsessionStorage. - π IndexedDB API - MDN. A database in the browser for larger data.
- π Storage for the web - web.dev. Which storage to use and how much you get.
- π File API - MDN.
- π Using files from web applications - MDN.
- π File System API - MDN.
- π HTML Drag and Drop API - MDN.
- π Using the Web Animations API - MDN.
- π requestAnimationFrame() - MDN.
- π Web Audio API - MDN.
- π Media Capture and Streams API - MDN. Use the camera and the microphone.
- π Intl.DateTimeFormat - MDN.
- π Temporal - MDN. The new date and time API.
- π Natively Format JavaScript Dates and Times - Elijah Manor.
- π Payment Request API - MDN.
- β π Web Components - MDN.
- πΉ Web Components Crash Course - Traversy Media.
- πΉ Building a REAL Web Component from Scratch - DesignCourse.
- π² Web Components and Stencil.js: Build Custom HTML Elements - Udemy.
- π WebRTC API - MDN.
- πΉ How To Create A Video Chat App With WebRTC - Web Dev Simplified.
- β π Learn PWA - web.dev.
- π The Offline Cookbook - Jake Archibald.
- π Using Service Workers - MDN.
- πΉ Progressive Web Apps in 100 Seconds - Fireship.
- πΉ 7 Web Features You Didnβt Know Existed - Fireship.
- πΉ PWA to Google Play Store with Trusted Web Activities - Fireship.
- π PWA Tutorial for Beginners - The Net Ninja.
- π Progressive Web App Training - Chrome for Developers.
- π² Progressive Web Apps (PWA): The Complete Guide - Udemy.
- Module formats, oldest to newest: IIFE, AMD, CommonJS, UMD, and ES modules.
- Bundlers: combine many files into a few files for the browser.
- Transpilers: turn new syntax or TypeScript into code that older browsers run.
- β π JavaScript modules - MDN.
- π Modules, introduction - javascript.info.
- Bundlers: Vite β Β· webpack Β· esbuild Β· Rollup Β· Parcel
- Transpilers: Babel Β· SWC Β· TypeScript
- β π Clean Code JavaScript - Ryan McDermott.
- π Top 10 JavaScript errors from 1000+ projects - codeburst.
- π ESLint - Find problems in your code.
- π Prettier - Format your code the same way every time.
- β π Vitest - A fast test runner for Vite projects.
- π Jest - A widely used test runner.
- π Testing Library - Test the UI the way a user uses it.
- π Playwright - End-to-end tests in real browsers.
- β π Patterns.dev - Lydia Hallie and Addy Osmani. Design, rendering, and performance patterns for modern web apps.
- π Learning JavaScript Design Patterns - Addy Osmani.
- π JavaScript Design Patterns for Humans - Soham Kamani.
- π Understanding MVC and MVP (For JavaScript and Backbone Developers) - Addy Osmani.
- π What is the difference between MVC and MVVM? - Stack Overflow.
- π What are MVP and MVC and what is the difference? - Stack Overflow.
- π What is the MVVM design pattern? - Quora.
- π 3 Key Software Principles You Must Understand - Envato Tuts+.
- π SOLID Principles: The Definitive Guide - AndroidPub on Medium.
- β π JavaScript Algorithms and Data Structures - Oleksii Trekhleb.
- π JS: Sorting Algorithm - MD Khan.
- π Change And Its Detection In JavaScript Frameworks - Tero Parviainen.
- π The Ultimate Guide to JavaScript Frameworks - The JavaScript Report.
TypeScript adds types to JavaScript. It finds many bugs before you run the code.
- β π The TypeScript Handbook - TypeScript.
- π TypeScript Evolution - Marius Schulz.
- π Introduction to TypeScript - Scrimba.
Node.js runs JavaScript on the server, so you can use one language for the whole stack.
- β π Introduction to Node.js - Node.js.
- π The Node.js event loop - Node.js.
- β π JavaScript Questions - Lydia Hallie.
- π 10 Interview Questions Every JavaScript Developer Should Know - Eric Elliott.
- β MDN JavaScript
- javascript.info
- Modern JavaScript for Ancient Web Developers - Postlight.
- β π Eloquent JavaScript - Marijn Haverbeke.
- π You Don't Know JS Yet - Kyle Simpson.
- π JavaScript 30 - Wes Bos. 30 small projects in 30 days.
- π² Modern JavaScript From The Beginning - Udemy. Beginner.
- π² JavaScript: The Complete Guide - Udemy. Beginner to advanced.
- π² The Complete JavaScript Course: From Zero to Expert! - Udemy. Intermediate to advanced.
- web.dev π
- freeCodeCamp News π
- JavaScript Scene π
- JavaScript Weekly π«