> Expressions
> Lesson 2: Conditional expressions
![]()
Introduction
Conditional statements set one attribute or variable for an expression based on the condition of another attribute or variable. This means that when a particular defined condition exists for one attribute then another attribute is changed based on how the expression defines it to do so.
In this lesson you learn how to:
- Use conditional statements to control an expression.
- Refine the conditional statements using if and else statements.