
Conexão HTML-JavaScript
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Hard
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a maneira correta de conectar um elemento HTML ao JavaScript usando um seletor de ID?
`document.getElementById("idDoElemento")`
`document.querySelector(".classeDoElemento")`
`document.getElementsByClassName("classeDoElemento")`
`document.getElementsByTagName("nomeDaTag")`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual palavra-chave é usada para definir uma constante em JavaScript?
`let`
`var`
`const`
`constant`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece se você tentar reatribuir um valor a uma constante em JavaScript?
O valor é alterado sem problemas.
Um erro é lançado.
O valor é alterado, mas uma mensagem de aviso é exibida.
Nada acontece.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você pode acessar o terceiro elemento de um array chamado `meuArray` em JavaScript?
`meuArray[2]`
`meuArray[3]`
`meuArray.get(2)`
`meuArray.get(3)`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para declarar um array em JavaScript?
`let meuArray = "elemento1", "elemento2", "elemento3";`
`let meuArray = ["elemento1", "elemento2", "elemento3"];`
`let meuArray = {"elemento1", "elemento2", "elemento3"};`
`let meuArray = (elemento1, elemento2, elemento3);`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você pode acessar o valor de uma propriedade chamada `nome` em um objeto chamado `pessoa`?
`pessoa["nome"]`
`pessoa.nome`
`pessoa->nome`
`pessoa.get("nome")`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para declarar um objeto em JavaScript?
`let pessoa = ["nome": "João", "idade": 30];`
`let pessoa = {"nome": "João", "idade": 30};`
`let pessoa = ("nome": "João", "idade": 30);`
`let pessoa = {"nome", "João", "idade", 30};`
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
20 questions
Desafio Etec 1.0
Quiz
•
1st - 12th Grade
20 questions
A Peróla
Quiz
•
12th Grade
10 questions
Icebreaker para apresentação
Quiz
•
9th - 12th Grade
10 questions
DISTOPIA
Quiz
•
10th - 12th Grade
13 questions
Luís Bernardo Honwana e "As mãos dos pretos"
Quiz
•
9th - 12th Grade
16 questions
Quiz De Minecraft
Quiz
•
KG - Professional Dev...
10 questions
BUŘIČI
Quiz
•
12th Grade
19 questions
Psychology Vocab 2
Quiz
•
9th - 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
Discover more resources for Other
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
