FREELessons:65Length:7.1 hours

• Overview
• Transcript

# 4.1 Conditionals

What happens when we need to do one thing if a condition is true, or something else if it isn’t? We use an if statement, that’s what, and in this lesson we’ll learn all about if statements and the ternary operator.

Syntax

• if
• else
• () ? :

Back to the top