DOM Flashcards
1
Q
What does DOM stand for?
A
Document Object Model
2
Q
What is the syntax for selecting a tag?
A
(Dane informed us that this is called an octothorpe lol)
3
Q
What type of variable do the selectors need to be?
A
A STRING
4
Q
Element Visibility
A
Elements aren’t visible until they’re appended to something already within the document body
5
Q
Steps to appending
A
- Select an element already on the page
- Create a new “li” element
- Add content to the “li” element
- Add the “li” element to the element we selected from the page