how to append an element in body under a parent element code example
Example: appendchild on specific position
parentElement.insertBefore(newElement, parentElement.children[2]);
parentElement.insertBefore(newElement, parentElement.children[2]);