Javascript If Else Statements | Javascript Tutorial For Beginners

  Рет қаралды 81,250

developedbyed

developedbyed

5 жыл бұрын

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.visualstudio.com/
🛴 Follow me on:
Twitter: / deved94
Github: github.com/DevEdwin

Пікірлер: 69
@yasazaheen7887
@yasazaheen7887 4 жыл бұрын
I love how he explains everything in a super chilled mood, even complex stuff sounds super easy.
@scribe_8733
@scribe_8733 4 жыл бұрын
Super chilled, super simplistic, super vaping lol =) love the examples too...
@CreativeSequence
@CreativeSequence 4 жыл бұрын
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
@RabiRicky2007
@RabiRicky2007 3 жыл бұрын
That's a good explanation
@mirandamandarin7028
@mirandamandarin7028 2 жыл бұрын
Never stop making your tutorials. You are the only one who can explain these complex things in a way i ACTUALLY understand :)
@HostDotPromo
@HostDotPromo 5 жыл бұрын
If you love javascript then show this guy some else exit this video!
@giveemhellkid3s
@giveemhellkid3s 5 жыл бұрын
Dude I love your channel, Im getting more out of your channel than I do in class. Big ups to you my friend!
@VenomTheChosenOne
@VenomTheChosenOne 3 жыл бұрын
Best KZfaq 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.
@tatianajohnson946
@tatianajohnson946 3 жыл бұрын
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!
@felixvieira290
@felixvieira290 5 жыл бұрын
thanks bro and hope you have a safe flight back to your country where the internet is better :)
@AmericanCube
@AmericanCube Жыл бұрын
your tutorials are so good! you just earned a sub😁
@dilanmeegodavithana4924
@dilanmeegodavithana4924 5 жыл бұрын
you are my JS guru
@Buttaz1977
@Buttaz1977 Жыл бұрын
Best Tutorial I've watched next to Messor. Awesome delivery
@tronganhnguyenthanh1157
@tronganhnguyenthanh1157 3 жыл бұрын
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.
@ousscinematic8444
@ousscinematic8444 3 жыл бұрын
Woow woow .. i really like the way you explain the trickiest stuffs with a funny way until you make it simple
@naveedasgari8415
@naveedasgari8415 4 жыл бұрын
God damn it. You are such a great teacher. It's amazing how much i learnt from you
@codelyslearning
@codelyslearning Жыл бұрын
Love this video, I think I’ve watched it four times.
@CloutGenie
@CloutGenie 4 жыл бұрын
LOVE THE LEARNING
@kristiangonzalez1108
@kristiangonzalez1108 Жыл бұрын
You are amazing!!! thanks for the explaination, so easy to understand, worth deffinetly my time :D
@ahmedabbas_forweb5774
@ahmedabbas_forweb5774 4 жыл бұрын
Thanks alot Dev Ed...
@estherokiki5894
@estherokiki5894 Жыл бұрын
Thanks you so much for this video🥺❤️❤️
@Ttozyy
@Ttozyy Жыл бұрын
THANK YOUUU SOO MUCH!!!!
@gurveersingh3570
@gurveersingh3570 4 жыл бұрын
W3Schools..............nice bro, keep it up
@samsonbrody6032
@samsonbrody6032 3 жыл бұрын
thank you!!
@abdelrhmanahmed5764
@abdelrhmanahmed5764 5 жыл бұрын
thank you
@madhusankar.s1817
@madhusankar.s1817 3 жыл бұрын
good work dr
@emanfaisal-du3dh
@emanfaisal-du3dh 19 күн бұрын
good job bro
@beansandsound
@beansandsound 3 жыл бұрын
Hello, Sir. I just want to ask. Could you also use a string in if else statement? Thank you.
@arezoodarvishi9719
@arezoodarvishi9719 4 жыл бұрын
thans alot
@ABreezingWind
@ABreezingWind 2 жыл бұрын
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.❤️❤️❤️
@francislambert5189
@francislambert5189 4 жыл бұрын
Good Morning in Germany...You are in Germany, right? Cool...Love this video. Peacd :)
@vincenzoriwu2998
@vincenzoriwu2998 2 жыл бұрын
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
@chikennuhgget30
@chikennuhgget30 2 жыл бұрын
Nice
@rifatsalmanabir3352
@rifatsalmanabir3352 4 жыл бұрын
Hey Ed what is the name of the intro and ending music?
@mariantdm
@mariantdm 4 жыл бұрын
8:07 How can I convert string "age" to a number? Thank you.
@arx2796
@arx2796 3 жыл бұрын
Its a number only @Marian TDM if you want to make a string then const age = "five"; console.log(age);
@itsali654
@itsali654 Жыл бұрын
For consolelog o u type it or it’s not needed to type
@Abinesh17
@Abinesh17 2 жыл бұрын
Vanakam da mapla Tamilnadu la irudhu ♥️
@nguyenchau6110
@nguyenchau6110 4 жыл бұрын
I can see u close the 3wschool tab :))
@kavitapanchal7993
@kavitapanchal7993 3 жыл бұрын
Haah lol
@mtriptruffle6345
@mtriptruffle6345 3 жыл бұрын
My visual studio code doesnt display the javascript code in colors console.log is white how do i fix this
@easyeli728
@easyeli728 2 жыл бұрын
Thank you my gorgeous friend
@adrian8729
@adrian8729 3 жыл бұрын
I recommend watching this video!
@dayoneshemuyl9464
@dayoneshemuyl9464 4 жыл бұрын
I don't understand why it was necessary to add the const = 20... What was it's purpose? You were only dealing with >
@bharath-bk1ks
@bharath-bk1ks 3 жыл бұрын
why dont you try if(18
@ashwinkhatiwada9350
@ashwinkhatiwada9350 4 жыл бұрын
1:42 From W3 School
@Showbear1986
@Showbear1986 4 жыл бұрын
I think the right word for the || is "Double Pipes"
@justb3m184
@justb3m184 4 жыл бұрын
Thankyou. I'm gonna apply for certification but I don't know how to send money using paypal. Sad.
@Zelinity
@Zelinity 4 жыл бұрын
what's the intro songg
@ryanmccarthy406
@ryanmccarthy406 3 жыл бұрын
what does dice mean
@nekopitou
@nekopitou 3 жыл бұрын
so it's just like if function on excel, except it's more advanceed
@FootballMore
@FootballMore 3 жыл бұрын
I see From Bangladesh
@jamesw7223
@jamesw7223 4 жыл бұрын
Shout out to the trucks wanting to learn JavaScript! Haha
@mariantdm
@mariantdm 4 жыл бұрын
Thumbs up to the #truck 5:18
@wetham11
@wetham11 3 жыл бұрын
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
@kavitapanchal7993
@kavitapanchal7993 3 жыл бұрын
Even I messed up like u, all u gotta do is use a (==) operator while laying out condition not just one(=).
@blacksteveirwin8451
@blacksteveirwin8451 2 жыл бұрын
I think it goes const life = 100 if (life == 0) { console.log(`Game over`); } not sure if that is right.
@omarbouassida
@omarbouassida 3 жыл бұрын
thanx,but please how to write not in javascript
@edvin5300
@edvin5300 4 жыл бұрын
const myName = ' Edwin'; const yourName = ' Edwin'; if(myName === yourName){ console.log(' Greeting from Montenegro ! ') }
@Alan-vz9il
@Alan-vz9il 3 жыл бұрын
funny how you were doing this just before the pandamic
@alexvech
@alexvech 5 жыл бұрын
@foo2hp
@foo2hp 3 жыл бұрын
" | " this is vertical bar.
@hasiibali2513
@hasiibali2513 3 жыл бұрын
i call it ( | ) Pipe character.
@CyberWaddo
@CyberWaddo 3 жыл бұрын
25,878 views But 843 Likes LOL :-/
@newicon6507
@newicon6507 3 жыл бұрын
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.
@PrestigeAura
@PrestigeAura 6 ай бұрын
vaping website 💀
@akirayagi5111
@akirayagi5111 3 жыл бұрын
add you wrote "your" for "you" .. Bruh!
Javascript Arrays | Javascript Tutorial For Beginners
11:25
developedbyed
Рет қаралды 91 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 65 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
Why I Don't Use Else When Programming
10:18
Web Dev Simplified
Рет қаралды 1,2 МЛН
JavaScript Basics in 10 Minutes
11:49
Topknot Clare
Рет қаралды 206 М.
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 578 М.
Javascript Functions & Parameters | Javascript Tutorial For Beginners
14:27
JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour
48:17
Programming with Mosh
Рет қаралды 12 МЛН
5 Must Know JavaScript Features That Almost Nobody Knows
18:06
Web Dev Simplified
Рет қаралды 474 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,6 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00