Mastering the DOM: Select, Style, Create & Remove Elements with JavaScript
TL;DR
The DOM is a tree of nodes representing your HTML.
You can select nodes with querySelector, modify content with textContent/innerHTML, style them with style/classList, and create/remove nodes with createElement, append, remove.
Bonus: before...