Javascript If Else Statements | Javascript Tutorial For Beginners

Поділитися
Вставка
  • Опубліковано 17 жов 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...

КОМЕНТАРІ • 68

  • @yasazaheen7887
    @yasazaheen7887 4 роки тому +66

    I love how he explains everything in a super chilled mood, even complex stuff sounds super easy.

    • @scribe_8733
      @scribe_8733 4 роки тому +3

      Super chilled, super simplistic, super vaping lol =) love the examples too...

  • @mirandamandarin7028
    @mirandamandarin7028 3 роки тому +6

    Never stop making your tutorials. You are the only one who can explain these complex things in a way i ACTUALLY understand :)

  • @CreativeSequence
    @CreativeSequence 5 років тому +16

    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

  • @giveemhellkid3s
    @giveemhellkid3s 5 років тому +9

    Dude I love your channel, Im getting more out of your channel than I do in class. Big ups to you my friend!

  • @tatianajohnson946
    @tatianajohnson946 3 роки тому +1

    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!

  • @HostDotPromo
    @HostDotPromo 5 років тому +30

    If you love javascript then show this guy some else exit this video!

  • @VenomTheChosenOne
    @VenomTheChosenOne 3 роки тому +3

    Best UA-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.

  • @tronganhnguyenthanh1157
    @tronganhnguyenthanh1157 4 роки тому +2

    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.

  • @felixvieira290
    @felixvieira290 5 років тому +12

    thanks bro
    and hope you have a safe flight back to your country where the internet is better :)

  • @Buttaz1977
    @Buttaz1977 2 роки тому

    Best Tutorial I've watched next to Messor. Awesome delivery

  • @AmericanCube
    @AmericanCube Рік тому +1

    your tutorials are so good! you just earned a sub😁

  • @naveedasgari8415
    @naveedasgari8415 4 роки тому +5

    God damn it. You are such a great teacher. It's amazing how much i learnt from you

  • @ousscinematic8444
    @ousscinematic8444 4 роки тому +1

    Woow woow .. i really like the way you explain the trickiest stuffs with a funny way until you make it simple

  • @dilanmeegodavithana4924
    @dilanmeegodavithana4924 5 років тому +7

    you are my JS guru

  • @codelyslearning
    @codelyslearning Рік тому

    Love this video, I think I’ve watched it four times.

  • @kristiangonzalez1108
    @kristiangonzalez1108 Рік тому

    You are amazing!!! thanks for the explaination, so easy to understand, worth deffinetly my time :D

  • @estherokiki5894
    @estherokiki5894 Рік тому

    Thanks you so much for this video🥺❤️❤️

  • @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

  • @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.❤️❤️❤️

  • @itsali654
    @itsali654 2 роки тому

    For consolelog o u type it or it’s not needed to type

  • @mariantdm
    @mariantdm 4 роки тому +3

    8:07
    How can I convert string "age" to a number?
    Thank you.

    • @arx2796
      @arx2796 4 роки тому +1

      Its a number only @Marian TDM
      if you want to make a string then
      const age = "five";
      console.log(age);

  • @emanfaisal-du3dh
    @emanfaisal-du3dh 3 місяці тому

    good job bro

  • @gurveersingh3570
    @gurveersingh3570 5 років тому

    W3Schools..............nice bro, keep it up

  • @Ttozyy
    @Ttozyy Рік тому

    THANK YOUUU SOO MUCH!!!!

  • @mtriptruffle6345
    @mtriptruffle6345 3 роки тому

    My visual studio code doesnt display the javascript code in colors console.log is white how do i fix this

  • @francislambert5189
    @francislambert5189 4 роки тому

    Good Morning in Germany...You are in Germany, right? Cool...Love this video. Peacd :)

  • @bharath-bk1ks
    @bharath-bk1ks 3 роки тому

    why dont you try if(18

  • @ahmedabbas_forweb5774
    @ahmedabbas_forweb5774 4 роки тому

    Thanks alot Dev Ed...

  • @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 >

  • @Abinesh17
    @Abinesh17 2 роки тому

    Vanakam da mapla Tamilnadu la irudhu ♥️

  • @madhusankar.s1817
    @madhusankar.s1817 3 роки тому

    good work dr

  • @CloutGenie
    @CloutGenie 5 років тому

    LOVE THE LEARNING

  • @adrian8729
    @adrian8729 3 роки тому +1

    I recommend watching this video!

  • @rifatsalmanabir3352
    @rifatsalmanabir3352 5 років тому

    Hey Ed what is the name of the intro and ending music?

  • @samsonbrody6032
    @samsonbrody6032 3 роки тому

    thank you!!

  • @justb3m184
    @justb3m184 4 роки тому

    Thankyou. I'm gonna apply for certification but I don't know how to send money using paypal. Sad.

  • @nguyenchau6110
    @nguyenchau6110 4 роки тому +2

    I can see u close the 3wschool tab :))

  • @abdelrhmanahmed5764
    @abdelrhmanahmed5764 5 років тому +1

    thank you

  • @ashwinkhatiwada9350
    @ashwinkhatiwada9350 4 роки тому +2

    1:42 From W3 School

  • @Showbear1986
    @Showbear1986 4 роки тому

    I think the right word for the || is "Double Pipes"

  • @chikennuhgget30
    @chikennuhgget30 2 роки тому

    Nice

  • @arezoodarvishi9719
    @arezoodarvishi9719 4 роки тому

    thans alot

  • @easyeli728
    @easyeli728 2 роки тому

    Thank you my gorgeous friend

  • @edvin5300
    @edvin5300 5 років тому +2

    const myName = ' Edwin';
    const yourName = ' Edwin';
    if(myName === yourName){
    console.log(' Greeting from Montenegro ! ')
    }

  • @jamesw7223
    @jamesw7223 5 років тому +1

    Shout out to the trucks wanting to learn JavaScript! Haha

  • @ryanmccarthy406
    @ryanmccarthy406 3 роки тому

    what does dice mean

  • @FootballMore
    @FootballMore 3 роки тому

    I see From Bangladesh

  • @nekopitou
    @nekopitou 3 роки тому

    so it's just like if function on excel, except it's more advanceed

  • @wetham11
    @wetham11 4 роки тому

    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 4 роки тому

      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

  • @mariantdm
    @mariantdm 4 роки тому

    Thumbs up to the #truck
    5:18

  • @Zelinity
    @Zelinity 4 роки тому

    what's the intro songg

  • @Alan-vz9il
    @Alan-vz9il 3 роки тому

    funny how you were doing this just before the pandamic

  • @foo2hp
    @foo2hp 3 роки тому

    " | " this is vertical bar.

  • @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.

  • @hasiibali2513
    @hasiibali2513 3 роки тому

    i call it ( | ) Pipe character.

  • @alexvech
    @alexvech 5 років тому +1

  • @CyberWaddo
    @CyberWaddo 3 роки тому

    25,878 views But 843 Likes LOL :-/

  • @PrestigeAura
    @PrestigeAura 10 місяців тому

    vaping website 💀

  • @akirayagi5111
    @akirayagi5111 3 роки тому

    add you wrote "your" for "you"
    ..
    Bruh!