DOM-Intro

Quiz
•
Computers
•
Professional Development
•
Hard
Re:Coded Org
Used 9+ times
FREE Resource
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()
Similar Resources on Wayground
10 questions
ILT #1 Web Basic

Quiz
•
Professional Development
5 questions
day 2 quiz 2

Quiz
•
Professional Development
10 questions
SASS, CSS Animation, RWD

Quiz
•
Professional Development
10 questions
PERTEMUAN 1 HTML DASAR

Quiz
•
Professional Development
10 questions
Very Hard HTML Quiz

Quiz
•
Professional Development
10 questions
EVALUASI PELATIHAN APLIKASI ANDROID

Quiz
•
Professional Development
10 questions
Conocimientos Previos, Fundamentos React.js

Quiz
•
Professional Development
9 questions
M4 HTML

Quiz
•
Professional Development
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