How to Create Conditions in JavaScript | Conditional Statements | JavaScript Tutorial. In this JavaScript tutorial you will learn about conditional statements which are used to create logic in JavaScript applications.
โค GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful ๐
Material for this lesson: https://www.patreon.com/posts/javascript-11-18255744
Original source
23 responses to “11: How to Create Conditions in JavaScript | Conditional Statements | JavaScript Tutorial”
6:49 so you can say you just had a phone call from a salesman ๐
bro, you video is amazing and I really enjoy sir
thanks so much
what does it take to become a full stack java script developer.??
quick question….. with regards the
if(age > 18) and if(gender == "male")
could you not put them together in one if statement? so
if(age >=18 && gender == "male") would this work also? I also didnt know you could put 2 if statements after one another?
these videos are great!!
Never use ==
Always use === because you want to ensure you are comparing the data types input.
This 4:40 will trip you up immensely.
To write de pipe simbol in Windows: Alt + 1 2 4
Don't you have declaire a variable for the gender female?
Nice lesson
11:26, i always wondered about == vs === thanks for clearing that up!
You're great teacher!
what's the difference between using two equal signs and using three equal signs?
Well looks like we may need to set up a defense for him rally the knights and keks lol the SJWs are coming lol but for real we got yah back
The commercials in between videos are very distracting and annoying…. nice course though
MMTUTS >= GOAT
what would I do if I wanted to both check the datatype and make sure a variable is greater or less than a number both at the same time. Great videos! very understandable!
3 SJWs disliked cos you said there's only 2 genders ;D
By the way mmtuts, would you ever do a tutorial for BootStrap 4?
I'm a little surprised by the fact that this didn't escalate into a gender debate in the comments xD
"Cant figure out gender"? what tha fuck? 2018 and people still thinks like there are only 2 genders… what a middle ages mentality…
๐๐๐๐
just a note here guys.. the && operator could also be used to test both condition in the "if" statement ,, doing so would omit the need of the second if statement and you would get the same result. eg.. if (gender == "male" && age >= 18) { console.log(" and you would log something here ");}
good job, keep it up
<3 Nothing to Say… <3
I am learning more easily here ! But what is === again ?
@mmtuts
Reply to me and I'll sub to your channel.