Quando você clica no botão com o texto "CLIQUE AQUI", um alerta com a mensagem "O botão verde foi acionado!" será exibido.

Recuperação II - Programação

Quiz
•
Physics
•
12th Grade
•
Hard
Gabriel Crestani
Used 9+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 3 pts
<button onclick="alert('O botão verde foi acionado!')" class="botao-verde">CLIQUE AQUI</button>
<button onclick="alert('CLIQUE AQUI')" class="botao-verde">CLIQUE AQUI</button>
<button onclick="alert('O botão verde foi acionado!')" class="CLIQUE AQUI">CLIQUE AQUI</button>
<button onclick="alert('CLIQUE AQUI')" class="alert">CLIQUE AQUI</button>
2.
DRAG AND DROP QUESTION
3 mins • 3 pts
Como fazer para incluir o arquivo JavaScript no seu documento HTML?
<script (a) ="meu-script.js"></script>
3.
DRAG AND DROP QUESTION
3 mins • 3 pts
Como evitar o uso excessivo de CSS inline como fazer para vincular o arquivo CSS no documento HTML?
<link (a) ="stylesheet" (b) ="estilos.css">
4.
MULTIPLE CHOICE QUESTION
3 mins • 3 pts
Qual extensão de arquivo é comumente usada para arquivos que contêm código JavaScript?
.html
.css
.js
.JAR
5.
DRAG AND DROP QUESTION
3 mins • 3 pts
Ordene para que o som “Pom” seja reproduzido:
(a) (' (b) '). (c) (d) ;
6.
DRAG AND DROP QUESTION
3 mins • 3 pts
Como criar uma função em JavaScript?
(a) nome_da_funcao (b) (c)
7.
MULTIPLE CHOICE QUESTION
3 mins • 4 pts
O método .play() é responsável por reproduzir um áudio ou vídeo, proporcionando maior interatividade no site. Podemos acioná-la utilizando o atributo onclick, o qual irá executar a função assim que o elemento for clicado pelo mouse.
Já temos o botão desenvolvido em HTML:
<section> <button class="tecla-buzina">BEEP BEEP!</button> </section> <audio src="sons/buzina.wav" id="som_buzina"></audio>
document.querySelector('#som_buzina').play() }
document.querySelector('#som_buzina').play() }
document.querySelector('#som_buzina').play() }
document.querySelector('#som_buzina') }
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
ôn tập kiến thức sóng ánh sáng

Quiz
•
11th - 12th Grade
18 questions
Geradores e Receptores elétricos

Quiz
•
12th Grade
20 questions
Geometrinė optika

Quiz
•
10th - 12th Grade
20 questions
Quiz Eletrização e Força

Quiz
•
12th Grade
15 questions
Campo Gravitatorio F1

Quiz
•
11th - 12th Grade
15 questions
நிலைமின்னியல்

Quiz
•
12th Grade
20 questions
Forças e gravidade

Quiz
•
8th - 12th Grade
20 questions
Physics Vector Practice

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade