HTML DOM
Common tasks of managing HTML DOM with vanilla JavaScript
Web development goes very fast. I still remember the moments when starting to use jQuery, Prototype, script.aculo.us, Zepto and many more. Nowadays, even if our application is powered by modern tools such as Angular, Vue, React, Svelte, .etc, we have to deal with DOM. The frameworks encapsulate and hide the DOM management directly, but still give us a door to work with DOM via ref, event handlers. If you develop or use a web component in any framework, you have to work with DOM at a certain...