Adding/Removing Elements
Learn how to create and remove elements from the DOM using JavaScript.
We'll cover the following...
document.createElement(element)
You can create a new element using document.createElement()
, with the argument element
, which is the element name.
...
Given the code above, why is there no output?
...