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...

Markdown supported · ⌘↵ to post
No responses yet.