β‘ Comparison Operators
>greater than100 > 50 β true
<less than30 < 80 β true
>=at least100 >= 100 β true
<=at most50 <= 50 β true
===exactly equal"FIRE" === "FIRE" β true
!==not equal5 !== 10 β true
β
if tests a question: if (temp > 100) { ... }
π
If the answer is true, the code inside { } runs
π«
else is the backup plan β runs when the test is false
βΆοΈ
Click βΆ Run to test, then β Check to verify!