What does the document.createElement() instruction do?

It creates a new elementIt accesses an existing element

It creates a new element.