Adding/Removing Elements

Learn how to create and remove elements from the DOM using JavaScript.

document.createElement(element)

You can create a new element using document.createElement(), with the argument element, which is the element name.

Implementation of document.createElement(element)
...
Given the code above, why is there no output?

...