💛 Course · 14 lessons · about 9.1 hours

JavaScript & TypeScript

The language of the web, from first variable to typed applications: values and functions, the DOM, asynchronous code, modules and tooling, and TypeScript.

Start lesson 1 →Roles: Frontend Developer · Full-Stack Developer · JavaScript Engineer

Before you start

HTML & CSS

Part of these career paths

Full-Stack Developer (AI-enabled)Frontend Developer

Module 1 · JavaScript Foundations

Values, logic, functions, and data — then make a web page respond to users.

  1. Lesson 0140 minJavaScript Fundamentals — Values, Variables and Control FlowHow JavaScript runs in the browser and Node.js, let and const, types and coercion, operators, conditionals, and loops.
  2. Lesson 0245 minFunctions, Objects and ArraysFunction declarations and arrow functions, scope and closures, objects, destructuring, spread, and the array methods you will use daily.
  3. Lesson 0340 minScope, Closures and thisBlock and function scope, hoisting, closures in practice, and how this is decided in methods, callbacks, arrow functions and classes.
  4. Lesson 0435 minArray Methods in Depth — map, filter, reduce, sortTransform real data with map, filter, reduce, find, some, every, flatMap and sort, chain them clearly, and avoid mutation bugs.
  5. Lesson 0540 minClasses, Prototypes and InheritanceHow prototypes work, ES classes, constructors, getters and setters, private fields, inheritance and when to prefer composition.
  6. Lesson 0640 minThe DOM and EventsSelect and update elements, handle clicks and form input, use event delegation, and build a small interactive to-do list.
  7. Lesson 0730 minJSON, localStorage and Browser StorageSerialise data with JSON, persist state in localStorage and sessionStorage, understand cookies and IndexedDB, and keep stored data safe.
  8. Lesson 0835 minError Handling and Debugging in the Browsertry/catch and custom errors, handling async failures, reading stack traces, and debugging with DevTools breakpoints and the network panel.

Module 2 · Modern JavaScript

Async code, modules, tooling, and types for real applications.

  1. Lesson 0940 minAsync JavaScript — Promises, async/await and fetchThe event loop, callbacks, promises, async/await, calling APIs with fetch, and handling errors and loading states.
  2. Lesson 1030 minModules, npm and Build ToolingES modules, package.json and npm scripts, dependencies and lockfiles, Vite, and linting and formatting with ESLint and Prettier.
  3. Lesson 1140 minNode.js Fundamentals — Runtime, File System and ModulesRun JavaScript outside the browser: the Node.js runtime, CommonJS and ES modules, the fs and path modules, environment variables and a small CLI.
  4. Lesson 1245 minTypeScript EssentialsAdd types to JavaScript: primitives, objects, unions, generics, narrowing, and typing API responses, plus a strict tsconfig.
  5. Lesson 1335 minTesting JavaScript with VitestWrite unit tests with Vitest, structure test cases, mock modules and network calls, measure coverage and run tests in CI.

Module 3 · Projects & Interview

Build a complete project and prepare for JavaScript interviews.

  1. Lesson 1450 minJavaScript Project and Interview PrepBuild a typed, tested expense-tracker app end to end, then work through the JavaScript questions interviews ask most.