The After School Coding Club
Scratch Full Lesson 4: If-Then-Else (Conditionals Continued!)
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
In this script we explore conditionals a little farther by playing around with an "if-then-else" block. A simple math question is randomly generated and based on whether the answer given is right or wrong, the alien gives you feedback.
In this example you'll:
- Creating variables
- Random number generation
- Joining strings in Scratch