
JavaScript Basics Review
Authored by Joseph Maxwell
Computers
7th - 12th Grade
Used 87+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Where does JavaScript code go in an HTML document?
<script> tag
<html> tag
<style> tag
<button> tag
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can a developer show a pop-up message to the user?
alert
prompt
console.log
<p> tag
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will successfully display a message to the user?
Alert(Hello, user);
alert("Hello, " user);
Alert("Hello, user");
alert("Hello, user");
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will successfully display a message to the user?
alert("hello, " + "user");
Alert("hello, " + user);
alert("hello", + "user");
alert("Hello, " + user";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this line of code do?
Declares AND sets a variable
Declares a variable
Sets a variable
Adds a value to a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT necessary when setting a variable?
variable name
equals sign
value to set the variable to
"var" keyword
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which message will the user see?
"I think you want a Sword I think"
Depends what they answer
"you want a Sword I think"
"thinkingMessage + messageToShow + thinkingMessage"
Access all questions and much more by creating a free account
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
CSS 10 - QUIZ
Quiz
•
10th Grade
20 questions
ptscod
Quiz
•
8th Grade
20 questions
Y3 Funtime
Quiz
•
1st - 7th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
15 questions
End of term assessment
Quiz
•
9th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade