Making Decisions with if and else
An if statement runs a block of code only when its condition is true, else gives the other path, and else if chooses between several, so your program can react to what's going on.
Updated

- Category
- JavaScript
- Level
- Novice
- Tags
- Code Block (general), else Statement, if Statement (javascript), JavaScript