
JavaScript&DOM
Authored by Heidy Mancilla
Computers
12th Grade
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Qué significa DOM en JavaScript?
Document Object Model
Document Output Model
Document Open Model
Data Object Model
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
let variable=document.querySelector('img');
variable.src='fotografia.jpg'; El resultado del siguiente código es:
Una imagen en el DOM
La selección de una imagen del DOM
Una variable con una foto
Código erróneo
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Qué método me permite añadir un elemento al principio de un array?
.pop()
.push()
.shift()
.unshift()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Cuál es la forma correcta de seleccionar un elemento por su ID en JavaScript?
getElementByName('elementId')
getElementByTag('elementId')
getElementById('elementId')
getElementByClass('elementId')
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Cuál es la forma correcta de seleccionar todos los elementos de la etiqueta <p> en JavaScript?
getElementByName('p')
getElementByTag('p')
getElementById('p')
getElementByClass('p')
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
¿Cuáles son las formas de cambiar el contenido de un elemento en JavaScript?
element.innerHTML = "new content"
element.textContent = "new content"
element.innerContent = "new content"
element.textHTML = new content
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Cuál es la forma correcta de agregar un evento a un elemento en JavaScript?
element.onEvent('eventName', functionName)
element.addEvent('eventName', functionName)
element.addEventListener('eventName', functionName)
element.listenEvent('eventName', functionName)
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
39 questions
EV.SII-VIRUS INFORMATICOS
Quiz
•
1st - 12th Grade
31 questions
Informatique
Quiz
•
12th Grade - University
34 questions
Tecnologías de la Información II
Quiz
•
1st - 12th Grade
40 questions
Python - Lists, Dictionaries and Loops
Quiz
•
9th - 12th Grade
33 questions
Computing Careers Unit 9 FOC
Quiz
•
9th - 12th Grade
30 questions
HTML/CSS/FORMS EOPA/2 Practice 4 of 4
Quiz
•
11th - 12th Grade
30 questions
Quiz Sebelum PAS (Basis Data dan Pemrograman)
Quiz
•
12th Grade
40 questions
Graphic Design Principles & Elements of Design (20 min)
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade