A conditional is a basic logic structure that tells a program to perform different actions depending on whether a condition is true or false.

Example: IF the button is pressed, THEN turn on the light. ELSE, turn it off. This is how programs make decisions.

💬 Discuss this resource on GitHub