In this tutorial, we'll go over how to use the basic comparison statements in conditional statements. This allows us to make smarter code that can make choices.
You can find the code we created during this video here:
https://github.com/XINX-Media/unblock...
Discord: / discord
Twitch: / unblockmedigital
Calendly: https://calendly.com/robbertthecoderd...
00:00 Intro
01:02 if statement
03:30 else statement
04:45 else if statement
05:25 Multiple matching if blocks
07:14 Multiple else if statements
07:54 Review
08:44 Using non-boolean values with if statements
09:21 truthy and falsey
10:22 Checking empty arrays in if statements
11:26 Review Part 2
12:15 Summary
12:30 Outro