Conditionals
Code that runs only when a condition is true - if, else, switch - letting a program make decisions.
Level 1 · Foundation
You can write if/else branches and predict which one runs.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleLevels of understanding
- 1
- 2
Deeper
You read a condition as a logical statement - and can simplify, negate and combine conditions correctly.
Your path here
What's still between you and Conditionals, level 1, in the order you can learn it.
Builds on
Opens up
Makes these deeper
Once you know Conditionals, come back to these — they'll mean more.