JavaScript and the DOM

Work through the sections below at your own pace. Use Previous / Next to move, or jump to any section from the list.

Section 1 of 425% complete

What is the DOM?

The DOM (Document Object Model) is the browser's live version of your HTML. It represents every element as a node that JavaScript can read and update.

This means you can change text, add new elements, or respond to clicks without reloading the page.