¿Qué significa DOM en JavaScript?
JavaScript&DOM

Quiz
•
Computers
•
12th Grade
•
Hard
Heidy Mancilla
Used 15+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
Similar Resources on Quizizz
40 questions
Microsoft Expression Units J, K, and M

Quiz
•
9th - 12th Grade
35 questions
Basic HTML and CSS Quiz 1.0

Quiz
•
12th Grade
33 questions
Web Design Final Exam Review-HTML

Quiz
•
9th - 12th Grade
37 questions
CSS and HTML Vocabulary

Quiz
•
9th - 12th Grade
30 questions
HTML and JavaScript

Quiz
•
12th Grade
34 questions
Python Dictionary

Quiz
•
11th - 12th Grade
40 questions
inf03 t1

Quiz
•
10th - 12th Grade
30 questions
JavaScript Arrays

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University