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
29 responses to “Beginner JavaScript Tutorial – 14 – if Statement”
form of eval
I took HTML and CSS in an institution but I went thru all bucky's videos first
And I sailed thru the whole thing
what's the mean of line 9
COCONUUUUTTTTSSS!!!
So can you write "alert" instead of "document.write" before the parenthesis? It's the same thing right?
how do i make a side bar for my website?? can you please make some more HTML and CSS tutorials so i can learn how to make a side bar for my website
Its only 8 minutes but it already feels like a drag. Its too long.
I am on the Beginner JavaScript Tutorial 14 – if statement. The coding examples ends at video 13. Can you tell me where to find the coding examples that go along with videos 14-40. This is so helpful. Thank you so much.
what about ===
JavaScript is not oop, correct?
i want to be a front-end dev in the future. im done learning html, css and after this. what should i do? to become fore reliable and responsive my website?
<script>
var polar = 50;
var solar= 100;
if(solar!=polar){
alert("Iam a genius weather reporter");
}
</script>
Danke Bucky πππππππ
can we declare a Variable without giving it a value? Like for example: var x;
Then after in the program, i will use it for some result or etc?
tbh I honestly think that he's been doing a good job, but learning a single if statement in 8 min is pretty damn long. Maybe he could have shorten the length of a video by combining a couple of those, like tutorial 14 and 15 because they are basically the same. Learning a single, simple line of code in 10 min is not really that efficient
Learning Java first made learning JavaScript so easy since they are pretty much similar :).
idk why but i love if else statements so much
use === instead == (unless u know what happens under the hood);
If the if statement does only have 1command to execute you can delete the curly brackets.
Example:
if(language ==1)
System.out.println("Hello");
if(language ==2)
System.out.println("Bonjour");
int something =in.nextInt();
This wil olso work even if language does not equal 2 it will still execute to way you wanted
Hey Bucky:
I'm about to start a 3 month web development immersive bootcamp. You have helped me understand the basics of javascript. Your a funny dude. The phlegm story was a trip because I experienced it 1 month earlier when I had the flu. Thank you for paying it forward with your teaching. I expect to do the same locally when I learn more about coding. By the way, I don't hear the Boston accent?
Hay Buckey , whatsup man ……Your are one of my favorite teacher on you tube and with your help i am learning java script .
This is my 14 tutorial of your series and what I'm continuously noticing that is your spelling mistakes in the strings and those are in tons..they doesn't make any difference the way you teach but all the time they are annoying me and may be others too.
So,these mistakes diverting the real focus…so please avoid those in future .
Its gonna be true when its true; its gonna be false when its not true. wut xD
Thank you for the lesson.
GOD bless you.
thank you bucky
So similar to python! I guess thats why they say all programming languages are the similar π
javascript is like c++
i worked a littel with c++ and is very easy for me now to understand javascript
Hey do you still accept registration on your site?
Thank you Bucky, you are very good at teaching! Thanks π
JAVASCRIPT IS MORE LIKE C IIF ANYYONE KNOW C THEY CAN LEARN JAVASCRIPT EASYLY AS A PIECE OF A PAGE OF A SITE