WebBeginner

DOM

Also known as Document Object Model

The browser's object representation of a document, with nodes that scripts can inspect and change.

In the real world

document.querySelector('h1').textContent = 'Hello'; changes a heading in the document.

Related

Go a little deeper