This and that or the other thing
If conditions can be a lot more complicated. So far our if conditions had only one condition within, but in reality, we could have a lot more conditions right in our one if statement. To do that we're going to use the and(&&), or(||) commands.
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!I have only one condition
time to really understand them. In this chapter we dive deep into the world of conditions: if, if else, else if, switchs, cases and more.
00:36
Conditioning to conditions
In this first lecture we're going to revisit that if else condition and understand it without any conditions.
15:00
Integrating else if conditions
The else if condition enables you to have a follow-up condition if your first if condition didn't match.
06:22
Nesting if conditions
This is going to be the first time that we nest if conditions.
05:47
Switching cases
In this lecture we're going to dive into the world of switches.
09:23
Knowing objects instead of conditions
The more you lean on objects and arrays the last conditions your page and applications need.
09:05
This and that or the other thing
So far our if conditions had only one condition in them but in reality we could have a lot more conditions rate in our one if statement.
05:29
Turning around for ternary operators
We're going to be talking about something that isn't mandatory you to know but it's so cool. Ternary operators our shorthand way to create if conditions and they are wicked.
03:13