
Javascript DOM
Authored by ARTURO PARIÑAS
Computers
11th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the acronym DOM stand for?
Document Object Model
Document Output Method
Data Object Management
Direct Object Manipulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JavaScript method is used to select a DOM element by its ID?
getElementByName
getElementByClass
getElementById
getElementByTag
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the createElement() method in JavaScript DOM?
To create a new attribute for a DOM element
To create a new text node for a DOM element
To create a new DOM element
To create a new CSS style for a DOM element
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add a new child element to an existing DOM element?
appendChild()
createChild()
addChild()
insertChild()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the removeChild() method in JavaScript DOM?
To remove a specific DOM element from the document
To remove all child elements from a specific DOM element
To remove a specific attribute from a DOM element
To remove a specific class from a DOM element
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the CSS style of a DOM element in JavaScript?
class
style
textContent
innerHTML
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which event is triggered when a user clicks on a button element in JavaScript DOM?
onkeyup
onmouseover
onclick
onchange
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?