Lesson 8 of 22 ยท 9 min ยท 2 hands-on steps
Making Decisions with if / else
Run different code depending on the situation.
You're on a roll. Keep going!
Unlock every lesson, exercise and interview question, plus the AI tutor. From $9.99/month, cancel anytime, with a 14-day money-back guarantee.