append vs appendchild js code example
Example: difference between the `.append()` method and the `.appendChild()` method
The ParentNode. append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode . ... append() allows you to also append DOMString objects, whereas Node. appendChild() only accepts Node objects.