Does the document.createElement() method insert a new element into the page?
no
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, value
What steps do you need to take in order to insert a new element into the page?
create and then append
What is the textContent property of an element object for?
allows you to get or set text content
Name two ways to set the class attribute of a DOM element.
setClassName, .setAttribute
What are two advantages of defining a function to do create something (like the work of creating a DOM tree)?
reusability, able to expand if items are added.