Does the document.createElement() method insert a new element into the page?
No, appendChild() does
How do you add an element as a child to another element?
appendChild
What do you pass as the arguments to the element.setAttribute() method?
Name and value
What steps do you need to take in order to insert a new element into the page?
createElement, createTextnode, then appendChild
What is the textContent property of an element object for?
I don’t know
Name two ways to set the class attribute of a DOM element.
setAttribute // .classname
What are two advantages of defining a function to create something (like the work of creating a DOM tree?)
It’s reusable