Using comparison operators we can write code that does different things depending on the values of our variables. Here are some of the different comparison operators you can use:
|Not equal to
|Greater than or equal to
|Less than or equal to
Instructions for our browser that use comparison operators are called if statements and else statements. These types of statements are called conditionals, because they depend on the value, or condition, of the variable.