Javascript If Else Statements | Javascript Tutorial For Beginners
ฝัง
- เผยแพร่เมื่อ 30 ก.ย. 2024
- Check out my courses and become more creative!
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: code.visualstu...
🛴 Follow me on:
Twitter: / deved94
Github: github.com/Dev...
I love how he explains everything in a super chilled mood, even complex stuff sounds super easy.
Super chilled, super simplistic, super vaping lol =) love the examples too...
If you love javascript then show this guy some else exit this video!
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
That's a good explanation
thanks bro
and hope you have a safe flight back to your country where the internet is better :)
Dude I love your channel, Im getting more out of your channel than I do in class. Big ups to you my friend!
Never stop making your tutorials. You are the only one who can explain these complex things in a way i ACTUALLY understand :)
God damn it. You are such a great teacher. It's amazing how much i learnt from you
const myName = ' Edwin';
const yourName = ' Edwin';
if(myName === yourName){
console.log(' Greeting from Montenegro ! ')
}
you are my JS guru
your tutorials are so good! you just earned a sub😁
Best TH-cam tutorials my guy. The way you explain these things literally made my life and 100's of other lives easier to understand the language and the syntax. Excited to learn React after this tutorial series.
Hi Edwin.I'm watching your Javascript tutorial and I think that you should give us more exercises after your lectures so that we can get them clearly in real world project.
8:07
How can I convert string "age" to a number?
Thank you.
Its a number only @Marian TDM
if you want to make a string then
const age = "five";
console.log(age);
This helped me under if else so much better. I'm literally coding and not understanding what I'm doing on that part. Thank you for this!
Woow woow .. i really like the way you explain the trickiest stuffs with a funny way until you make it simple
1:42 From W3 School
I recommend watching this video!
I can see u close the 3wschool tab :))
Haah lol
Shout out to the trucks wanting to learn JavaScript! Haha
25,878 views But 843 Likes LOL :-/
Thanks you so much for this video🥺❤️❤️
I see From Bangladesh
why dont you try if(18
I don't understand why it was necessary to add the const = 20... What was it's purpose? You were only dealing with >
Truck🤣🤣 habibi i was focusing with you the same as if i was there with you that sarcasm of the truck, i love you man no homo haha, thanks for the classes too keep it up, you are beautiful and happy from within and your energy is touching.❤️❤️❤️
You are amazing!!! thanks for the explaination, so easy to understand, worth deffinetly my time :D
Thank you a lot for your explanation its very clear and easy to understand, what I would like to understand is how can I implement this if condition on my button in html? I mean for example I want that once I click mybutton it pop up a window say "how old are you?" and then if you put 19 it says nice you are good to go and you enter otherwise you cannot enter. ? Thank you in advance :3
Good Morning in Germany...You are in Germany, right? Cool...Love this video. Peacd :)
For consolelog o u type it or it’s not needed to type
Thank you my gorgeous friend
Thankyou. I'm gonna apply for certification but I don't know how to send money using paypal. Sad.
so it's just like if function on excel, except it's more advanceed
Love this video, I think I’ve watched it four times.
everyone says he is good at teaching, however he never mentions what code is contained in the html file. BTW I did exactly all he said, and got nothing.
Best Tutorial I've watched next to Messor. Awesome delivery
My visual studio code doesnt display the javascript code in colors console.log is white how do i fix this
thank you
" | " this is vertical bar.
i call it ( | ) Pipe character.
THANK YOUUU SOO MUCH!!!!
funny how you were doing this just before the pandamic
what does dice mean
good job bro
vaping website 💀
thanx,but please how to write not in javascript
Vanakam da mapla Tamilnadu la irudhu ♥️
Nice
I think the right word for the || is "Double Pipes"
my code is
if (life = 0) {
console.log("Game Over");
}
but it wont work no idea why ._. anyone know why?
Edit:it also sets my var (life) to 0 :l
Even I messed up like u, all u gotta do is use a (==) operator while laying out condition not just one(=).
I think it goes
const life = 100
if (life == 0) {
console.log(`Game over`);
}
not sure if that is right.
Hey Ed what is the name of the intro and ending music?
W3Schools..............nice bro, keep it up
Thanks alot Dev Ed...
what's the intro songg
Thumbs up to the #truck
5:18
thank you!!
good work dr
thans alot
LOVE THE LEARNING
add you wrote "your" for "you"
..
Bruh!