It seems like there are so many different ways to do the same thing given all the different dom methods like createElement then inner HTML and then appendChild.
Instead of apendChild you could use insertAdjacentElements with things like “beforeend” or “afterend”
There’s a lot advantages or disadvantages (maybe?) to using one approach to the other but I don’t know what those are. And as mentioned, I feel like there’s a gazillion combinations of how you could use them.
For someone like me who really wants like know all cases and all “what-ifs” this is a nightmare.
I’m clearly making this a bigger deal that it needs to be.