Basics
How to Quickly Add Inline CSS Styles Through JavaScript
If you've ever tried to modify your inline CSS from JavaScript, you'll notice it can be quite verbose. // Don't do this const button = document.querySelector('#button'); button.addEventListener('click', () => { button.style.border = '1px solid blue'; button.style.borderRadius = '2px'; button.style.color = 'white'; // and so it goes }); It's dirty,