JavaScript&DOM
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Heidy Mancilla
Used 19+ times
FREE Resource
Enhance your content in a minute
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)
Create a free account and access millions of resources
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
30 questions
COP NSDA L3= 0004
Quiz
•
12th Grade
36 questions
Chapter Nine Elements of art and Design Hierarchy
Quiz
•
9th - 12th Grade
40 questions
year 3 QUIZ 3 2nd term
Quiz
•
3rd Grade - University
36 questions
EarSketch/Python Programming
Quiz
•
9th - 12th Grade
40 questions
Susulan Quizz PAT Pilihan Ganda Semester Genap Kelas XII
Quiz
•
12th Grade - University
32 questions
Cuestionario OSPF de una área
Quiz
•
12th Grade
30 questions
Ulangan Harian Ke-1 Administrasi Sistem Jaringan 12 Kelas XII TKJ A-B SMK SAKTI GEMOLONG Pengampu pakagso
Quiz
•
12th Grade
40 questions
C Programming Midterm Review
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
