← All roadmaps
Programming · Very High demand

JavaScript roadmap

JavaScript runs the web: every interactive site and most front-end jobs need it. It also powers back-end services with Node.js, mobile apps, and desktop apps.

beginner

JavaScript Foundations

About 4 weeks

Topics

  • let/const, primitive types, operators, and type coercion
  • Functions, arrow functions, parameters, and scope
  • Arrays and objects: map, filter, reduce, destructuring
  • DOM selection, events, and dynamic page updates
  • Template literals, spread/rest, and ES6 essentials
  • JSON, fetch basics, and handling responses
  • Debugging with browser DevTools and console

Free resources

Hands-on practice

  1. Build an interactive to-do list with localStorage persistence
  2. Create a form validator with live inline error messages
  3. Build a quiz app that loads questions from a JSON file
  4. Recreate accordion, tabs, and modal components in vanilla JS
Milestone checkpoint: You can build interactive pages from scratch: the to-do app persists data, the form validates live, and you can explain scope, array methods, and how DOM events propagate.
intermediate

Async JavaScript and Tooling

About 6 weeks

Topics

  • Closures, the this keyword, and execution context
  • Prototypes, classes, and inheritance in JS
  • Callbacks, promises, and async/await patterns
  • Fetch, REST APIs, and robust error handling
  • ES modules, npm, and Vite project setup
  • Unit testing with Vitest
  • Regular expressions for validation and parsing
  • The event loop: call stack, queue, and microtasks

Free resources

Hands-on practice

  1. Build a GitHub-user dashboard using fetch with loading and error states
  2. Rewrite callback code into clean async/await with retries
  3. Set up a Vite project with Vitest and 15+ passing tests
  4. Build a debounced live-search against a public API
Milestone checkpoint: You can build async front-ends confidently: the dashboard handles loading, errors, and retries; the Vite project is tested; you can whiteboard the event loop and explain closures.
advanced

Professional JavaScript Engineering

About 8 weeks

Topics

  • TypeScript: types, interfaces, and generics
  • Design patterns: module, observer, factory in JS
  • Performance: profiling, memoization, bundle analysis
  • Web Workers and Service Workers for PWAs
  • Security: XSS, CSP, and safe DOM practices
  • Node.js core APIs and publishing an npm package
  • Reading framework source code (React/Vue internals)

Free resources

Hands-on practice

  1. Convert a JS project to TypeScript with strict mode passing
  2. Build an offline-capable PWA with a service worker
  3. Profile and fix a slow page: measure before and after
  4. Publish a small npm utility with docs and tests
Milestone checkpoint: You write production-grade JS: a strict TypeScript codebase, an offline PWA, documented performance wins, and a published npm package you can explain end to end.

Track your progress

Sign in to mark stages complete and watch your roadmap fill up on your dashboard.

Sign in