Frontend Master

JavaScript Curriculum

"The coffee shop site looks great. Now customers want to interact with it — filter the menu, add to cart, submit orders without page reloads. Every feature needs DOM manipulation. Time to make the page think."

The DOM is the live, programmable map of your webpage. Learn to select, traverse, modify, and react to every element — then unlock the full browser API toolkit: storage, fetch, observers, and more.

20 lessons~12h1160 XP

What you'll ship

A fully interactive coffee shop menu page — live search, cart management, order form with validation, persistent localStorage cart, and a fetch-powered specials board.

Lessons

1.

What is the DOM

document tree, nodes, elements, DevTools

2.

Selecting Elements

getElementById, querySelector, querySelectorAll, HTMLCollection vs NodeList

3.

Traversing the DOM

parentElement, children, siblings, closest, nextElementSibling

4.

Reading & Writing Content

textContent, innerHTML, innerText, XSS safety

5.

Attributes & Dataset

getAttribute, setAttribute, data-* attributes, dataset, classList

6.

Creating & Removing Elements

createElement, append, prepend, remove, cloneNode, DocumentFragment

7.

Styling via JavaScript

element.style, classList, getComputedStyle

8.

Events — Fundamentals

addEventListener, event object, removeEventListener, once option

9.

Event Types

click, keydown, input, mousemove, focus/blur, submit, DOMContentLoaded

10.

Bubbling & Delegation

event bubbling, stopPropagation, preventDefault, event delegation

11.

Forms with JavaScript

form events, FormData, live validation, submit handling

12.

BOM — Window & Location

window object, location, history API, navigator, URLSearchParams

13.

Timers & Animation Loop

setTimeout, setInterval, clearInterval, requestAnimationFrame

14.

Web Storage

localStorage, sessionStorage, JSON.stringify/parse, storage limits

15.

Fetch API

fetch, Promises, async/await, JSON responses, status codes

16.

Error Handling

try/catch/finally, error types, throw, fetch error handling, instanceof

17.

Intersection Observer

IntersectionObserver, threshold, rootMargin, lazy loading, scroll animations

18.

MutationObserver & ResizeObserver

MutationObserver, ResizeObserver, DOM watching, component-level responsive design

19.

Clipboard, Geolocation & Other APIs

Clipboard API, Geolocation API, matchMedia, Page Visibility, Web Share, navigator.onLine

20.

Capstone — Todo App

DOM + Events + LocalStorage + Fetch + Error Handling — all combined

DOM & Browser APIs | Nexus Learn