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.