

JavaScript Basics
Flashcard
•
Computers
•
5th Grade
•
Practice Problem
•
Hard
Hala Ahmed
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Where are JavaScript statements written?
Back
JavaScript statements are written within HTML tags.
2.
FLASHCARD QUESTION
Front
Is JavaScript case sensitive?
Back
Yes, JavaScript is case sensitive.
3.
FLASHCARD QUESTION
Front
What does the alert() statement do?
Back
The alert() statement displays a message inside a dialogue box.
4.
FLASHCARD QUESTION
Front
What is the purpose of the document.write() statement?
Back
The document.write() statement is used to display texts within the webpage content.
5.
FLASHCARD QUESTION
Front
When are JavaScript statements executed automatically?
Back
JavaScript statements are executed automatically when the webpage is opened.
6.
FLASHCARD QUESTION
Front
What is a function in JavaScript?
Back
A function is a group of JavaScript statements that will be executed when called.
7.
FLASHCARD QUESTION
Front
How do you create a function in JavaScript?
Back
Write the word 'function' followed by a suitable name and the code between curly brackets.
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?