And if there are nodes, then you can navigate through them like stepping stones. But what about finding your way when the changes are inside a text area? The text area, in its most fundamental form, lives inside the page DOM, but as text inside it, which means there are text nodes. Usually, changes happen in response to customers pressing a button or some other interaction. We can target these addresses – also called nodes – and make changes to the page. And like a map, each element of the web page has an address. Traversing the DOM steps you through the elements of a web page. However, it’s not always clear exactly what node within the DOM that a part of the web page rests inside.
Navigating the Document Object Model (DOM) of a page is a powerful skill to have, once it’s mastered.