function hideItem() {
......................= "none";
score++;
scoreText.innerHTML = "Score: " + score;
if (score < 10) {
alert("Item found!");
}
else {
alert("You win!");
}
}
JavaScript Quiz
Quiz
•
Instructional Technology
•
11th Grade
•
Hard
LE DG.TAI.L1@vus.edu.vn
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 5 pts
function hideItem() {
......................= "none";
score++;
scoreText.innerHTML = "Score: " + score;
if (score < 10) {
alert("Item found!");
}
else {
alert("You win!");
}
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
>= stands for "greater than or equal to"
Đúng
Đúng rất Đúng
Sai
Sai quá sai
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
score++ stand for
increase score by 2
decrease score by 2
decrease score by 1
increase score by 1
4.
FILL IN THE BLANK QUESTION
1 min • 5 pts
How to create a function hideItem?
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
if (score < 10) { alert("Item found!"); }
else { alert("You win!"); }
if score less than 10; appears message "You win"
if score greater than 10; appears message "Item found"
if score less than 10; appears message "Item found"
if score less than 10; appears message "Item found!"
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the difference between Let and Const?
Let can be updated
Const can be updated
Nothing
Let can't be updated
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the correct syntax?
onclick="hideItem"
onclick="hideItem()"
onclick=hideItem()
onclick=hideItem
10 questions
JavasCript
Quiz
•
1st Grade - University
12 questions
Building Materials ,Fasteners, and Adhesives
Quiz
•
10th - 12th Grade
9 questions
Lesson 1 Touring Excel
Quiz
•
10th Grade - University
8 questions
0001
Quiz
•
9th - 12th Grade
10 questions
Arduino Microcontroller & IoT
Quiz
•
8th - 11th Grade
10 questions
Quiz de Programação no Scratch e p5.js
Quiz
•
10th Grade - University
10 questions
React Native
Quiz
•
11th Grade
11 questions
#1 JS kérdőív
Quiz
•
11th Grade
20 questions
math review
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions
Interactive video
•
6th - 8th Grade
19 questions
Math Review
Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review
Quiz
•
7th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade
20 questions
Insurance
Quiz
•
9th - 12th Grade
20 questions
Paying for College
Quiz
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
20 questions
Managing Credit
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade