Javascript beginner tutorial 16 – if else statements




In this video I explain how to use an if. . . else statement, which gives you the opportunity to run a bit of code if your condition is evaluated to false.

Don’t forget to subscribe:
http://www.youtube.com/user/QuentinWatt

For collaborations and business inquiries, please contact via Channel Pages: http://ChannelPages.com/QuentinWatt Social links:
————————————————————-
Add me on twitter:

facebook group:
https://www.facebook.com/quentin.watt
————————————————————-

Original source


20 responses to “Javascript beginner tutorial 16 – if else statements”

  1. Hi Quentin I have a question. I've noticed that when you sign a value to an array like so var name="Ryan"; the name is between " " but this doesn't apply to numbers as your previous video. Is there a reason to it?
    Thank you for your answer))

  2. Ok is it possible to put a yes/no question to a if/else statement? if it is can somebody tell me how to do it I did Codeacademy and tried to take what I learned and applied it to my own formula but it didn't work

  3. You're making this seem easy–your pacing is just right. I'm surprised and pleased that I haven't hit any brick walls in comprehension yet.  I can't tell you how many times I've started to learn a programming language and ended up comatose after a couple of chapters. Thank you for opening this door!

  4. I like how you relate the code to real life such as if the person is 18 then allow them,etc. It makes things even more understandable and you can have ideas when actually coding for a real website.

Leave a Reply