JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

prep2 lesson 1-2

prep2 lesson 1-2

8th Grade

20 Qs

Computer Programming REVIEW

Computer Programming REVIEW

9th - 12th Grade

15 Qs

JavaScript Quiz

JavaScript Quiz

9th Grade

15 Qs

HTML CSS JS

HTML CSS JS

9th - 12th Grade

20 Qs

Intro to JavaScript

Intro to JavaScript

9th - 12th Grade

16 Qs

SAINS KOMPUTER F5 BAB 3

SAINS KOMPUTER F5 BAB 3

10th - 12th Grade

18 Qs

9 Klase. Ievads HTML, CSS, JavaScript

9 Klase. Ievads HTML, CSS, JavaScript

9th Grade

17 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

Assessment

Quiz

Computers

7th - 12th Grade

Medium

Created by

Greg Baker

Used 175+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicates the beginning  and the end of a JavaScript section.
<html> </html>
<style> </style>
<article> </article>
<script> </script>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JavaScript file has an extension name of
.jscp
.js
.css
.Jp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword do we need to define a function?
function
method
onclick
functionName()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which 1 of the following symbols is used for JavaScript comments?
\\
^
?
//

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, you should include a semi-colon at the end of each statement.
yes
no

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JavaScript file has an extension name of
.jscp
.js
.css
.Jp

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is written correctly?

Move

move

Move();

move();

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?