Lectures > 13. Conditional logic
In this lesson, we’re going to go over conditional logic, which will allow you to write programs that have different outcomes depending on the data, events, and/or user interactions that take place as your program executes. This is often referred to as your program’s “state.” Specifically, we’ll cover: (a) if, if / else, if / else if /else statements, (b) comparison operators, and (c) scenarios where you might want to use conditional statements.
Today's Activities
For today, please do the following:
1. Download the Exercise Files
Exercise Files2. Complete the Assigned Readings
- How To Write Conditional Statements in JavaScript. Digital Ocean
3. Review the Slides
4. Watch the Lecture Video(s)
Link | Title | Type | Duration |
---|---|---|---|
Video 1 | Intro to Conditionals | lecture | 1:10:37 |