HTML DOM - Common tasks of managing HTML DOM with vanilla JavaScript
This is a great way to organise code snippetsโlisted by use case, and searchable too!
Next time you’re stuck on some DOM scripting, before reaching for a framework or library, check here first.
![setInterval(_=>{ document.body.innerHTML = [ …”๐ฎ๐๐๐๐๐ฌ” ][~~(Math.random()*6)] },95)](https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&refresh=2592000&url=http://static.jsbin.com/images/logo.png)