Statements normally start with a keyword that tells you the action the statement will perform.
You can store information in your browser using variables. Variables have a name and a value, which can be either text or numbers. If the value is text it has to be in double quotes ” “. If your variable name has two words, write it using camelCase.
To change or set the values of your variables you can use assignment operators, arithmetic operators and comparison operators.
If statements and else statements are known as conditional statements. Using conditional statements allows us to make our code do different things depending on the value of a variable.