← All JavaScript lessonsLesson 5 of 12 · ⭐ 20 XP

Big or Small?

⭐ 0 XP · 🔥 0 day streak

Programs make choices. The if instruction checks a question that is true or false: if it is true, one block of code runs; else, the other block runs.

Your mission: finish the two choices. A score of 85 should print You pass!, and an age of 7 should print Kid coder.

Checks

    Next lesson →