null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
4944542
4) DOM Scripting (Checkpoints 22-28)
Description
Quiz on 4) DOM Scripting (Checkpoints 22-28), created by Sanny Lin on 24/03/2016.
No tags specified
100
Quiz by
Sanny Lin
, updated more than 1 year ago
More
Less
Created by
Sanny Lin
over 8 years ago
14
1
1
Resource summary
Question 1
Question
DOM stands for: D[blank_start]ocument[blank_end] O[blank_start]bject[blank_end] M[blank_start]odel[blank_end]
Answer
ocument
bject
odel
Question 2
Question
Each element of the DOM is best known as a what?
Answer
node
object
element
item
Question 3
Question
What does the selector `document.getElementsByClassName()` return?
Answer
a NodeList
an object
an array
undefined
Question 4
Question
Using no helper libraries, just DOM scripting, what property do you use to change the style of an element?
Answer
.style()
.css()
.transform()
.js()
Question 5
Question
A commonly used metaphor to describe the DOM is...
Answer
a tree
the solar system
a cactus
a speeding bullet
Question 6
Question
window.addEventListener('scroll', function(event) { console.log(event); }); What is "scroll" in this context?
Answer
an event to listen for
an event to trigger
a function to execute
none of these
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
A-Level History: Nazi Germany
cian.buckley+1
An Inspector Calls - Themes
mhancoc3
A Level: English language and literature technique = Dramatic terms
Jessica 'JessieB
An Inspector Calls: Characters
bexjrutherford
Presentations in English
Alice McClean
Spanish Subjunctive
MrAbels
English Language Techniques
lewis001
med chem 2 final exam
lola_smily
Physics 1
Peter Hoskins
Power and Conflict Poetry
Charlotte Woodward
General Pathoanatomy Final MCQs (201-300)- 3rd Year- PMU
Med Student
Browse Library