# 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: November 15, 2026

## [Module 1: Your First JavaScript](https://www.ask-codey.com/courses/javascript-in-depth/modules/1)

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.

- [Getting Started with JavaScript](https://www.ask-codey.com/courses/javascript-in-depth/chapters/getting-started-with-javascript) (5 topics, 7 lessons)
- [Values and Variables](https://www.ask-codey.com/courses/javascript-in-depth/chapters/values-and-variables-in-javascript) (6 topics, 6 lessons)
- [Decisions and Loops](https://www.ask-codey.com/courses/javascript-in-depth/chapters/decisions-and-loops-in-javascript) (3 topics, 6 lessons)
- [Functions](https://www.ask-codey.com/courses/javascript-in-depth/chapters/functions-in-javascript) (3 topics, 5 lessons)

## [Module 2: Working with Data](https://www.ask-codey.com/courses/javascript-in-depth/modules/2)

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.

- [Arrays: Lists of Things](https://www.ask-codey.com/courses/javascript-in-depth/chapters/arrays-in-javascript) (2 topics, 5 lessons)
- [Objects: Grouping Related Data](https://www.ask-codey.com/courses/javascript-in-depth/chapters/objects-in-javascript) (3 topics, 5 lessons)
- [Transforming Data](https://www.ask-codey.com/courses/javascript-in-depth/chapters/transforming-data-in-javascript) (3 topics, 5 lessons)
- [Text, JSON and Tricky Values](https://www.ask-codey.com/courses/javascript-in-depth/chapters/text-json-and-tricky-values-in-javascript) (5 topics, 6 lessons)

## [Module 3: How JavaScript Really Works](https://www.ask-codey.com/courses/javascript-in-depth/modules/3)

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.

- [Scope and Closures](https://www.ask-codey.com/courses/javascript-in-depth/chapters/scope-and-closures-in-javascript) (3 topics, 5 lessons)
- [Objects, Classes and this](https://www.ask-codey.com/courses/javascript-in-depth/chapters/objects-classes-and-this-in-javascript) (3 topics, 7 lessons)
- [Errors, Debugging and Modules](https://www.ask-codey.com/courses/javascript-in-depth/chapters/errors-debugging-and-modules-in-javascript) (5 topics, 6 lessons)

## [Module 4: JavaScript in the Browser](https://www.ask-codey.com/courses/javascript-in-depth/modules/4)

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.

- [The Page and the DOM](https://www.ask-codey.com/courses/javascript-in-depth/chapters/the-page-and-the-dom-in-javascript) (4 topics, 7 lessons)
- [Events: Making Pages Respond](https://www.ask-codey.com/courses/javascript-in-depth/chapters/events-in-javascript) (3 topics, 6 lessons)
- [Forms and Storage](https://www.ask-codey.com/courses/javascript-in-depth/chapters/forms-and-storage-in-javascript) (4 topics, 7 lessons)

## [Module 5: Asynchronous JavaScript](https://www.ask-codey.com/courses/javascript-in-depth/modules/5)

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.

- [Timers and the Event Loop](https://www.ask-codey.com/courses/javascript-in-depth/chapters/timers-and-the-event-loop-in-javascript) (2 topics, 4 lessons)
- [Promises and async/await](https://www.ask-codey.com/courses/javascript-in-depth/chapters/promises-and-async-await-in-javascript) (2 topics, 4 lessons)
- [Calling Web APIs with fetch](https://www.ask-codey.com/courses/javascript-in-depth/chapters/calling-web-apis-in-javascript) (4 topics, 7 lessons)

## [Module 6: Professional JavaScript](https://www.ask-codey.com/courses/javascript-in-depth/modules/6)

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.

- [Tools Professionals Use](https://www.ask-codey.com/courses/javascript-in-depth/chapters/professional-tools-for-javascript) (2 topics, 4 lessons)
- [Testing Your JavaScript](https://www.ask-codey.com/courses/javascript-in-depth/chapters/testing-javascript-with-vitest) (2 topics, 4 lessons)
- [Fast, Safe and Shipped](https://www.ask-codey.com/courses/javascript-in-depth/chapters/fast-safe-and-shipped-javascript) (5 topics, 5 lessons)

Source: https://www.ask-codey.com/courses/javascript-in-depth
