Lesson 6 of 6
Project: the animated quiz
We put it all together: the robot asks its question 🤔, then "if your answer is right" it celebrates, ELSE it tries again 😅.
The right answer is 3. Change your answer (the first number) to 3: the robot will throw three confetti 🎉 using a loop.
🎯 Your mission
Set 3 as the answer (the first number of the "if"). After the 🤔, the robot must throw three 🎉.
PRO lesson
This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.
Discover PRO →