NEW
Font size
WorksheetsJavaScript Basic Terminology
Total questions: 20
Worksheet time: 11mins
Which of the following is the correct Javascript format for a comment?
// "the text"
/"the text"/
*/"the text"/*
\\"the text
Where does JavaScript code go in an HTML document?
<script> tag
<html> tag
<style> tag
<button> tag
Bonus Question: What is the web programming Trifecta?
HTML, CSS, Javascript
Java, C+, HTML
Java, HTML, CSS
Kobe, Labron, Jordan
Why do we use if/else statements in JavaScript?
To repeat something for a fixed number of times
To either do something if a condition is true or do something else
To break out of some block of code
To repeat something while a condition is true
When we are done with a line what do we put at the end?
a colon :
a semi-colon ;
a period .
a quotation mark "
A programming language used for webpage functionality such as interactivity, data processing, animation, and development of purpose built apps such as mobile and desktop apps and more.
HTML5
CSS
JS
C#
Conditions return values of which data type?
Integer
boolean
floating-point
string
Statement lets you ask a question to the program and only run code if the answer is true.
If Else Statement
Condition
If Statement
Parentheses
Which is not a part of the Web Trifecta?
HTML
CSS
Python
JavaScript
JavaScript is free for everyone to use.
True
False
