
JavaScript DOM Quiz
Authored by veera yams
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does DOM stand for in JavaScript?
Document Object Model
Data Object Model
Dynamic Object Model
Document Order Model
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The DOM represents an HTML document as a:
Tree Structure
Linked List
Stack
Queue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to get an element by its ID in JavaScript?
document.getElementById()
document.querySelector()
document.getClass()
document.getElement()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the text of an HTML element dynamically?
innerHTML
value
textContent
text
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a DOM event?
onclick
onload
onexecute
onmouseover
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can be used to select multiple elements with the same class name?
document.getElementsName()
document.getElementById()
document.querySelectorAll()
document.getElement()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does document.querySelector("div") return?
All div elements
The first div element
The last div element
An array of div elements
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
First Quarter Exam in T.L.E. 7- ICT
Quiz
•
7th Grade - University
50 questions
HCI MIDTERM EXAMINATIONS
Quiz
•
12th Grade
50 questions
Latihan Soal Algoritma dan Pemrograman Kelas 8
Quiz
•
12th Grade
54 questions
Programming Concepts
Quiz
•
9th - 12th Grade
50 questions
Asas Sains Komputer Tingkatan 3
Quiz
•
9th - 12th Grade
50 questions
LATIHAN PTS GENAP INFORMATIKA KELAS 7
Quiz
•
11th - 12th Grade
45 questions
ULANGAN ke1 KOMPUTASIONAL
Quiz
•
12th Grade
45 questions
SAS INFORMATIKA IX SEMESTER 1
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade