
Eventos em JS

Quiz
•
Information Technology (IT)
•
3rd Grade
•
Medium
LUCAS FIRMO DE LIMA ALVES
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quais dos eventos em JavaScript abaixo é relacionado ao Mouse?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Onde podemos colocar a lógica para trocar a cor de uma div ao apertar a tecla 'C'?
document.addEventListener('dbclick'), function(event){if(event.key === 'w')}
No evento de mouse sobre a div.document.addEventListener('dbclick'), function(event){if(event.key === 'c')}
No evento de clique do botão.document.addEventListener('keydown'), function(event){if(event.key === 'w')}
No evento de carregamento da página.document.addEventListener('click'), function(event){if(event.key === 'w')}
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Disparar um evento quando qualquer tecla é pressionada
4.
OPEN ENDED QUESTION
5 mins • 1 pt
Como podemos redimensionar a tela pelo JavaScript?
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Como podemos detectar um clique duplo em um elemento HTML usando JavaScript?
document.addEventListener('click')
document.addEventListener('dblclick')
document.addEventListener('mouseover')
document.addEventListener('mouseout')
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
O que acontece quando é adicionado o evento mouseover?
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Como podemos alterar o texto de um elemento HTML ao passar o mouse sobre ele?
document.addEventListener('mouseover', function() {element.innerText = 'Novo Texto';})
document.addEventListener('click', function() {element.innerText = 'Novo Texto';})
document.addEventListener('mouseout', function() {element.innerText = 'Novo Texto';})
document.addEventListener('dblclick', function() {element.innerText = 'Novo Texto';})
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
10 questions
Place Value

Quiz
•
3rd Grade
17 questions
Multiplication facts

Quiz
•
3rd Grade
12 questions
Damon and Pythias

Quiz
•
3rd Grade
20 questions
Subject and Predicate Review

Quiz
•
3rd Grade
20 questions
Division Facts

Quiz
•
3rd Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade