How to use insertAdjacentHTML
element.insertAdjacentHTML(where, html);
We have 4 possible positions:beforebegin before the element
afterbegin before the first children of the element
beforeend after the last children of the element
afterend after the element