Section 1

Preview this deck

String

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

7 years ago

Date created

Mar 1, 2020

Cards (17)

Section 1

(17 cards)

String

Front

Text to be used as a literal value

Back

Variable Value

Front

A value that can change (x=5)

Back

Modulus operator

Front

Divides the first number by the second and returns the remainer (%)

Back

Confirm box

Front

Used if you want the user to verify or accept something

Back

Function

Front

A block of code designed to perform a particular task

Back

Else statement

Front

A block of code to be executed if the condition is false

Back

Prompt box

Front

Used if you want the user to input a value

Back

Camelcase

Front

First word is lowercase, every start of a new word is uppercase

Back

If statement

Front

A block of JavaScript code to be executed if a condition is true

Back

Else If

Front

Used to specify a new condition if the first condition is false

Back

document.write( )

Front

Writing JavaScript into the HTML

Back

HTML event

Front

A JavaScript trigger

Back

<script> </script>

Front

the HTML tags that JavaScript sits between

Back

Statement

Front

Instructions to be executed by the computer

Back

Literal Value

Front

A fixed value (could be a number or a string)

Back

Assignment operator

Front

Used to assign a new value to a variable (=)

Back

window.alert( )

Front

Writing into an alert box

Back