1.3.5 Adding/Removing DOM Elements

We can interact with DOM element properties to add/remove elements from the DOM. We can even utilize CSS styles to do this.

html...


JavaScript...

The element is removed.


The element is rendered as a block-level element.