Zusammenfassung der Ressource
Frage 1
Frage
DOM stands for:
D[blank_start]ocument[blank_end]
O[blank_start]bject[blank_end]
M[blank_start]odel[blank_end]
Frage 2
Frage
Each element of the DOM is best known as a what?
Frage 3
Frage
What does the selector `document.getElementsByClassName()` return?
Antworten
-
a NodeList
-
an object
-
an array
-
undefined
Frage 4
Frage
Using no helper libraries, just DOM scripting, what property do you use to change the style of an element?
Antworten
-
.style()
-
.css()
-
.transform()
-
.js()
Frage 5
Frage
A commonly used metaphor to describe the DOM is...
Antworten
-
a tree
-
the solar system
-
a cactus
-
a speeding bullet
Frage 6
Frage
window.addEventListener('scroll', function(event) {
console.log(event);
});
What is "scroll" in this context?
Antworten
-
an event to listen for
-
an event to trigger
-
a function to execute
-
none of these