Check out my courses and become more creative!
https://developedbyed.com
Javascript If Else Statements | Javascript Tutorial For Beginners
In this video series we are going to learn modern javascript from scratch. This video is recommended for anyone wanting to learn javascript the modern way with ES2015. No previous programming knowledge is required, so this video series will help you learn javascript as your first programming language.
We will cover the basic of if statements, if else and else statements in javascript. How to use the different types of operators in our if statement.
Things covered in this video:
How to create an if, else statement in javascript.
When to use == or ===.
The && operator and || operator.
📔 Materials used in this video:
VSCode: https://code.visualstudio.com/
🛴 Follow me on:
Twitter: https://twitter.com/deved94
Github: https://github.com/DevEdwin
Original source
21 responses to “Javascript If Else Statements | Javascript Tutorial For Beginners”
I love how he explains everything in a super chilled mood, even complex stuff sounds super easy.
1:42 From W3 School
8:07
How can I convert string "age" to a number?
Thank you.
Thumbs up to the #truck
5:18
I can see u close the 3wschool tab :))
I don't understand why it was necessary to add the const = 20… What was it's purpose? You were only dealing with ><=+-18.
Thanks for the video.
thans alot
I think the right word for the || is "Double Pipes"
const myName = ' Edwin';
const yourName = ' Edwin';
if(myName === yourName){
console.log(' Greeting from Montenegro ! ')
}
The simple way to explain == and === is when we use == JavaScript is only checks that name and value is equal or not but when we use === JavaScript checks both value and type so the simple is that == is used to check the value and === is used to check both value and type
Hey Ed what is the name of the intro and ending music?
Shout out to the trucks wanting to learn JavaScript! Haha
W3Schools…………..nice bro, keep it up
LOVE THE LEARNING
I call it a pipe. By the way you have great videos. I really enjoy the node.js channel. Thank you!
https://en.wikipedia.org/wiki/Vertical_bar
you are my JS guru <3
thank you
Dude I love your channel, Im getting more out of your channel than I do in class. Big ups to you my friend!
<3
thanks bro
and hope you have a safe flight back to your country where the internet is better 🙂
If you love javascript then show this guy some else exit this video!