
JavaScript DOM Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
veera yams
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Latihan Soal Algoritma dan Pemrograman Kelas 8

Quiz
•
12th Grade
50 questions
LATIHAN PTS GENAP INFORMATIKA KELAS 7

Quiz
•
11th - 12th Grade
50 questions
LATIHAN SOAL

Quiz
•
10th Grade - University
45 questions
Level 1- 3 Test

Quiz
•
3rd Grade - University
54 questions
Programming Concepts

Quiz
•
9th - 12th Grade
45 questions
KK PSKEL 12 RPL 2

Quiz
•
12th Grade
45 questions
Quizes-Syntax-Master

Quiz
•
12th Grade
49 questions
Test sobre HTML, CSS y JavaScript

Quiz
•
12th 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