Beginner JavaScript Tutorial – 15 – if/else Statement




Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts

Original source


34 responses to “Beginner JavaScript Tutorial – 15 – if/else Statement”

  1. from what i can read in the comments, I still believe we struggle at school because the teachers want to sound smart. Bucky doesn't give a shite if you think he is smart or not. dumbs it down to beginner level and we all understand.

  2. so far the only difference iv seen from processing and javascript is how u out down a text….iv been having to skip to something i dont know since all this is teaching me stuff i learned in processing (processing is actually called Proccesing.JS, its a simpler version of javascript, but not so different aparently) but i guess im lucky, i know most of javascript already

  3. This reminds me of C++. I imagine you can also do more than one test like this:

    if(3 <5 && 30 < 99)
    {
    document.write("Yay it works!");
    }

    else if (4<8 || 5 > 8)
    {
    document.write("Only half is correct!");
    }

    else 
    {
    document.write("I am a total failure!");
    }

Leave a Reply