And pure DOM manipulation is now hard.
I find it easier to make functions and pass arguments to those functions to generate HTML. “Hard-coding” HTML and trying to use event listeners and then to manipulate the event targets with
setAttribute() looks ugly.
Libraries like hyperscript abstract out the weirdness of the Web DOM API and make it easy to work with.
I enjoy thinking in functions instead of HTML.