js element library code example Example: prepen an element js // prepend span to a div document.createElement("div").prepend(span);