
DOM OOP

Quiz
•
Computers
•
1st Grade
•
Hard
Yacine Hamdada
Used 7+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The DOM is the set of functionality that browsers provide to enable developers to access and manipulate webpages. What does DOM stand for?
Direct Object Manipulation
Document Object Model
Document Object Manipulation
Document Oriented Model
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method does not exist to retrieve an HTML element?
document.getElementById()
document.getElementsByTagName()
document.getQuerySelector()
document.getElementsByClassName()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for a keyup event ?
eventTarget.keyup = eventHandlerFunction
eventTarget = eventHandlerFunction.onkeyup
eventTarget.onkeyup = eventHandlerFunction
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How will you retrieve an element with the id "first"?
document.getElementById("first")
document.querySelector("#first")
Both A and B
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Write how to retrieve the element with the id main using querySelector
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When you're writing JS on a webpage, what is the name of the global variable that represents the DOM?
window
dom
global
document
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these lines of code would replace the content of a webpage with "Helloooo"?
document.innerHTML = ('Helloooo')
document.body.innerHTML = ('Helloooo')
document.body.HTML = ('Helloooo')
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The methods getElementsByClassName() and getElementsByTagName() both return a list of the matched elements, even if the match is for a single element.
True or false?
True
False
Similar Resources on Wayground
10 questions
SQL and PL/pgSQL Quiz

Quiz
•
1st Grade
12 questions
Spreadsheets Year 7

Quiz
•
1st - 9th Grade
10 questions
QUIZZ 4 : DATABASE FUNDAMENTALS

Quiz
•
1st - 3rd Grade
10 questions
Power BI

Quiz
•
1st Grade
5 questions
Synthesis 3.11

Quiz
•
1st Grade
10 questions
MS Word 2019 - Word Basics

Quiz
•
1st - 3rd Grade
10 questions
Microsoft Word Basic

Quiz
•
1st - 5th Grade
8 questions
G1.Ch5.Word program

Quiz
•
1st - 2nd Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
5 questions
Life at a pond

Quiz
•
1st Grade
14 questions
Plural Nouns Adding s and es

Quiz
•
1st - 2nd Grade