Javascript Dom Manipulation Flashcards
1
Q
What is the DOM?
A
The DOM defines a standard for accessing documents.
2
Q
What does document.querySelector() return?
A
It returns the first element within the document that matches the specified selector or group of selector.
3
Q
How do you modify the text of elements on the DOM?
A
By using the textContent property.