This module is the canonical reference for the JavaScript language and browser APIs. It assumes the reader has completed Modules 02 and 03 and understands HTML document structure and CSS styling.
HTTP, JSON, the Fetch API, Promises, and async/await are introduced here at a surface level to complete the language picture, but are fully documented in 05 — HTTP, JSON & Fetch.
- JavaScript engines and execution model
- ECMAScript versions
- Variables —
const,let,var - Data types — primitives and reference types
- Operators
- Strings and template literals
- Numbers and the Math object
- Conditionals and loops
- Functions — declarations, expressions, arrow functions, closures
- Scope and hoisting
- Arrays — methods, higher-order functions
- Objects — methods, destructuring
- ES6+ features — spread, rest, optional chaining, nullish coalescing
- DOM Manipulation
- Events — listeners, bubbling, delegation
- Browser APIs — localStorage, sessionStorage, BOM
- Classes and OOP
- Modules —
import/export - Async JavaScript (introduction — see Module 05 for full coverage)
By the end of this module, the reader should be able to:
- Explain the difference between
const,let, andvarand know when to use each. - Write functions using all three syntaxes and explain where
thispoints in each context. - Use higher-order array methods (
map,filter,reduce) fluently. - Select DOM elements, modify their content and classes, and attach event listeners.
- Store and retrieve data from
localStorage. - Define a class with a constructor, instance methods, and inheritance.
70 – 90 minutes
🟦 Intermediate
| File | Description |
|---|---|
README.md |
This file |
notes.md |
Complete JavaScript reference |