Adding a sliding animation in 2024 – WHY IS THIS SO HARD
I had a scenario for a personal project where I had e.g. a (+) button, and clicking that button should insert a new thingy into the DOM. No problem-o. button.addAdjacentHTML(element, <div>thingy</div>) to the rescue. Okay, ...