Save
freeCodeCamp
JavaScript for Beginners freeCodeCamp
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Michael Angelo Cantara
Visit profile
Cards (387)
Who is the instructor of the Beginner’s Javascript course?
Beau Carnes
View source
What is the target audience for the Beginner’s Javascript course?
Beginners or those needing a
refresher
View source
How does this course relate to freeCodeCamp.org?
It follows the freeCodeCamp
Javascript
curriculum
View source
What should you do after completing the course?
Create some
Javascript
projects
on your own
View source
What is one way to write Javascript code?
Using a
code editor
like
Sublime Text
View source
What is the purpose of the <script> tags in HTML?
To include
Javascript
code in HTML files
View source
What does console.log do in Javascript?
Displays
output
in the console
View source
What is CodePen used for?
To create and test
HTML
,
CSS
, and
Javascript
View source
What is the first thing discussed in the course?
Comments
in Javascript
View source
What are comments in Javascript used for?
To create notes that are
ignored
by the code
View source
How do you create an in-line comment in Javascript?
Using
//
before the comment
View source
What is the difference between undefined and null in Javascript?
Undefined means
not
defined; null means explicitly
nothing
View source
How many data types does Javascript provide?
Seven
different data types
View source
What is a boolean in Javascript?
A data type that can be
true
or
false
View source
What does a variable do in Javascript?
Stores and
manipulates
data
dynamically
View source
What keyword is used to declare a variable in Javascript?
var
View source
What is the difference between var, let, and const?
Var is
global
; let is
block-scoped
; const is
immutable
View source
What happens if you try to change a const variable?
You will get an
ERROR
View source
What is the assignment operator in Javascript?
=
View source
What is the purpose of a semicolon in Javascript?
To indicate the end of a
statement
View source
What does console.log allow you to do?
See
variable
values in the console
View source
What does initializing a variable mean?
Setting it to an
initial value
View source
What is case sensitivity in variable names?
Capitalization
matters in variable names
View source
What operator is used for addition in Javascript?
+
View source
How do you subtract numbers in Javascript?
Using the
subtraction
sign (-)
View source
What symbol is used for multiplication in Javascript?
*
View source
How do you divide numbers in Javascript?
Using the
division
sign (/)
View source
What does incrementing a number mean?
Adding
1
to
the
number
View source
What operator is used to increment a number?
++
View source
What does decrementing a number mean?
Subtracting
1
from the
number
View source
What is a decimal number in Javascript?
A number with a
decimal point
View source
How do you multiply decimal numbers in Javascript?
Using the same method as
integers
View source
What does the remainder operator (%) do?
Gives the
remainder
of division
View source
How can the remainder operator be used?
To determine if a number is
even
or
odd
View source
What is the result of 11 % 3?
2
View source
What are the main data types in Javascript?
Undefined
Null
Boolean
String
Symbol
Number
Object
View source
What are the three ways to declare a variable in Javascript?
var
let
const
View source
What are the differences between var, let, and const?
Var:
function-scoped
or globally scoped
Let:
block-scoped
Const:
immutable variable
View source
What are the basic arithmetic operations in Javascript?
Addition (
+
)
Subtraction (-)
Multiplication (*)
Division (/)
Remainder (%)
View source
What are the methods to log output in Javascript?
console.log
Popup
alerts
View source
See all 387 cards