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 create elements, add attributes to them and attach them to the DOM. Also learn how to remove elements from the DOM.