Nowadays, JavaScript frameworks like React or Vue have taken the “pleasure” of managing the DOM (Document Object Model) from most of the developers.
So, unless you’re a curious person, UI library creator, or someone who doesn’t like to over-rely or use frameworks at all, you won’t find this blog post useful. ;) But anyway, here are all the ways of adding an element to the DOM directly.
You may also like: Understand and Using the DOM like a Pro.
#javascript #javascript frameworks