Home
Learn about JavaScript's document object model, which can be used to manipulate the elements on an HTML page.
Take a look into the Document Object Model, its tree-like structure and the four types of nodes.
Learn how to access single elements by using the getElementById() function as well as the querySelector(). Additionally, learn how to traverse the DOM tree.
Learn how to access multiple elements and manipulate NodeLists in Javascript.
Learn how to modify text and attribute fields in JavaScript using nodeValue, innerHTML, textContent, and learn about the methods used to access and update attributes.
Learn how to create elements, add attributes to them and attach them to the DOM. Also learn how to remove elements from the DOM.