Lesson 1 · Creative Coding
A question the computer can answer yes or no.
A condition is something that is either true or false. Your program checks the condition and then decides what to do. Think of it like a question: 'Is the player touching the wall?' The answer is always yes or no.
IF it is raining THEN take an umbrella. IF the light is red THEN stop. The part after IF is the condition; the part after THEN is the action.
1 more part in this lesson
Walkthroughs, code labs, mini-games and the checkpoint quiz unlock when you buy the course.