JavaScript in Depth

Learn JavaScript from your very first line of code to apps you can put online: values, functions and data, how the language really works, interactive pages,…

Updated

Module 1: Your First JavaScript

Write your first programs: run JavaScript in Node and on a web page, keep values in variables, make decisions, repeat work with loops and package it in functions, then finish a Rock, Paper, Scissors game you can play in the browser.

Module 2: Working with Data

Real programs work with lists and records: a playlist, a pet's profile, a high-score table. Store them in arrays and objects, reshape them with map, filter, reduce and sort, clean up messy text, handle missing values, and save data as JSON, then turn a year of listening history into your own Music Wrapped.

Module 3: How JavaScript Really Works

The ideas behind the bugs that confuse everyone: scope, closures, `this`, classes and prototypes, errors, the debugger and modules. Learn how they work and put them to use in a virtual pet that lives in your browser.

Module 4: JavaScript in the Browser

Put JavaScript in charge of a web page. Learn the HTML and CSS it works with, find and change elements through the DOM, respond to clicks and keys, check forms, and remember data in the browser, then build a photo gallery with a lightbox and favorites that stay saved.

Module 5: Asynchronous JavaScript

Teach your code to wait without freezing the page: timers, the event loop, promises and async/await, then call real web APIs with fetch and show loading, empty and error states, and build a timed trivia game with questions from the internet.

Module 6: Professional JavaScript

Work the way professional JavaScript developers do: set up a project with npm and Vite, keep the code clean with ESLint and Prettier, test it with Vitest, keep it fast and safe, and put it online, then build a typing-speed game and your own final capstone app.