DOM Overview
The DOM is the browser’s object tree for HTML. JavaScript reads and updates nodes to change the UI. Write tasks here are quiz-focused (no real browser in the grader).
- document.querySelector finds elements.
- textContent / innerHTML update content (prefer textContent when possible).
- Events (click, submit) drive interactivity.
Practice selecting mental models on Quiz — browser labs come with React later.