Scratch Full Lesson 3: Introduction To Conditional Statements
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
This simple introductory coding activity will focus on conditional statements in programming. A conditional statement is a line of code that determines whether or not the next block of code will be executed; it says IF a condition we are evaluating is true, only then should we execute the rest of the actions in the block of code. In this animation we will have a sprite either walk toward or away from a cave depending on user input.
In this example you'll:
- Get to know the Scratch development workspace
- Learn how to ingest user input in a script
- Learn about conditional ("if") statements
- Introduction to simple operators