
DOM-Intro
Authored by Re:Coded Org
Computers
Professional Development
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What can you use to find HTML elements and connect them to js? (Select all that apply)
IDs
Tags
Class names
Any Attribute
Content
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What functions can we use to find HTML elements? (Select all that apply)
document.getElementById()
document.querySelector()
document.querySelectorAll()
document.findElements()
document.getElementSById()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
document.getElementsByTagName() returns ...
A single HTML element with the Tag name
All HTML elements with the Tag name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the code in the image. To get the value of data-theme, what function are going to use?
Note: dataBox is the name of the variable that connects to this HTML element.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When we want to access all HTML elements with the class name "bg-red", what function do we use?
document.getElementsByClassName("bg-red")
document.getElementsByClassNameAll("bg-red")
document.getAllElementsByClassName("bg-red")
document.getElementsByClassName("bg-red").all()
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
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
EAE_DataScience_S2
Quiz
•
Professional Development
10 questions
Kemahiran Komputer
Quiz
•
6th Grade - Professio...
10 questions
Quiz - Simulado Comentado CLF-C02 - 29/11/2023
Quiz
•
Professional Development
10 questions
Java Collections
Quiz
•
Professional Development
10 questions
ChatGPT for Work
Quiz
•
Professional Development
10 questions
Ai nhanh hơn
Quiz
•
Professional Development
10 questions
SENZ AIOT SAVANTS - JV & JS
Quiz
•
Professional Development
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
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development