Either I watched these tutorials before and don't remember at all or you use almost all the same examples as you did in PHP... I hope i didn't watch all of these before because don't remember watching javascript tutorials.
How long should I keep my eyes closed? Can I open them now? You didn't state for how long i NEED TO CLOSE THEM. i CAN'T SEE ANYTHING, HOW AM I SUPPOSED TO LIVE FOR THE REST OF MY LIFE???
@MLPComputerTutorials You would use XHTML to receive input (or maybe PHP as well, idk) and then give the inputted text to the program. Bucky didn't do all that stuff to save time
switch(girl){ x("Bucky","Ya, thats a girl"); x("Robin","He is cool"); x("Sonja","Thats the name of my mother"); x("She-male","Thats not a girl"); x("Lesbian","They love girls"); x("XD","Thats not a name of a girl!"); x("this is madness","THIS IS MADDNEEES"); default: document.write("Bucky is a girl!");}
View my channel to find a link to my web development blog! I made it to get my ideas out and shows you how to do it. give it a look and make one and blog with me! we can start a little community of bloggers and share ideas! see you soon!
OK, to explain the "case" and "default" (+ break) a bit more. The "case" is like an if statement, if the case equals (variable) to a value, it will execute the code inside (document.write in this case), but the "default" is like an else statement (not "else if") where you can execute some code if there isn't any matches for the cases. And to the break. If the client found a case that matched the variable, it stops searching for a new one. Easy explained. Hope you all understood quite well.
@JavaFolower In Java (long time since I last used that) the switch cases would just cascade until the next break. Regardless of if the case was true or not. At least, that's how I remember it. Never used switch cases that much since I can use math to work around that.
@Bladestorm687 It would eventually run into the "default" statement (which is what it should do when none of the cases matches. That might even need a "break" though. However, since the switch-case construct is not a loop, it won't run forever would it?
You like Twilight. HA-HA
SirAndresJ 1 week ago 2
"Natalie" ©Thenewboston
EpicMickey5 2 weeks ago in playlist JavaScript Tutorials Playlist
Either I watched these tutorials before and don't remember at all or you use almost all the same examples as you did in PHP... I hope i didn't watch all of these before because don't remember watching javascript tutorials.
PS3CL4N 1 month ago in playlist TheNewBoston - Beginner Javascript
This has been flagged as spam show
***Making a if statement like this wont be messy...
if (1==1)
{ document.write("hi"); }
KukiKruch 1 month ago
Comment removed
KukiKruch 1 month ago
Is she related to Natalie Protman?
heyconway 1 month ago in playlist More videos from thenewboston 4
".., or Rebecca..."
Bucky was thinkin of Rebecca Black again lolz!
fytr4lyf1 2 months ago 4
can i open my eyes yet?
NeuroticPCGamer 2 months ago in playlist Beginner JavaScript Tutorials Playlist
NATALIE PORTMAN (屮゚Д゚)屮
Y U NO COMMENT
xXxDiukexXx 2 months ago
I liek mudkipz...
xXxDiukexXx 2 months ago
awesome
CrazyShooter199 2 months ago
How long should I keep my eyes closed? Can I open them now? You didn't state for how long i NEED TO CLOSE THEM. i CAN'T SEE ANYTHING, HOW AM I SUPPOSED TO LIVE FOR THE REST OF MY LIFE???
CrazyShooter199 2 months ago
@CrazyShooter199 Wow, you sure write blind pretty well. And you must have memorized the entire YouTube layout too, gosh, I'm amazed!:)
marsimil 2 months ago
@marsimil Yes well I have voice recognition software and I have been using computers so extensively I just know where the buttons on my are.
CrazyShooter199 2 months ago
7:20 - go go ahead, go go go ahead, that's so cute bucky !
MrxSensation 3 months ago
Comment removed
LordZehnner 3 months ago
Comment removed
LordZehnner 3 months ago
How do you let the user choose the name? If they don't know JavaScript
MLPComputerTutorials 5 months ago
@MLPComputerTutorials You would use XHTML to receive input (or maybe PHP as well, idk) and then give the inputted text to the program. Bucky didn't do all that stuff to save time
TheHiguty 3 months ago in playlist Beginner JavaScript Tutorials Playlist
it's like, you must lick garden state
elvisniperx 5 months ago
Thank you!
nitz2007 5 months ago
I love Garden State! :D
curlycrush 5 months ago
var girl = "Bucky";
function x(a, b){ case a: document.write(b);
}
switch(girl){ x("Bucky","Ya, thats a girl"); x("Robin","He is cool"); x("Sonja","Thats the name of my mother"); x("She-male","Thats not a girl"); x("Lesbian","They love girls"); x("XD","Thats not a name of a girl!"); x("this is madness","THIS IS MADDNEEES"); default: document.write("Bucky is a girl!");}
TheRobinNet 6 months ago
This has been flagged as spam show
View my channel to find a link to my web development blog! I made it to get my ideas out and shows you how to do it. give it a look and make one and blog with me! we can start a little community of bloggers and share ideas! see you soon!
IDmann700 6 months ago
Oh bucky! Your tutorials never bores me.
112makoto 6 months ago
Nice end!
druidofluhn 7 months ago
its funny how bucky knows programming syntax better then english grammar
dajoshinater 7 months ago 3
Bucky is the best teacher ever on youtube .........xD
Matalic1 8 months ago 4
@Matalic1 exactly
90cdowns 7 months ago
Haha Bucky, you made my day with that intro!
markulin5000 8 months ago
Thanks for the tutorials.
finniksa 9 months ago
@7Voo yes...
bomer890 10 months ago
@7Voo actually not...
bomer890 10 months ago
sf
SuperPhero 11 months ago
asnice
SuperPhero 11 months ago
0:22 Still thinking about Rebecca Black, huh?
Bucky, you lady killer you. ;)
Fbiman93 11 months ago 4
Natalie Portman gave you thumbs down.
0ejmusik0 11 months ago
@7Voo Actually, like C... All those languages were influenced by C...
leadpx 11 months ago 9
3:55 - Epic voice crack?
AOERyan 11 months ago 46
@AOERyan I think he got kicked in the throat before doing these last couple tutorials.
o0oK1LLERo0o 4 months ago
Who is this @kidel3 guy?
fckingkim 11 months ago
OK, to explain the "case" and "default" (+ break) a bit more. The "case" is like an if statement, if the case equals (variable) to a value, it will execute the code inside (document.write in this case), but the "default" is like an else statement (not "else if") where you can execute some code if there isn't any matches for the cases. And to the break. If the client found a case that matched the variable, it stops searching for a new one. Easy explained. Hope you all understood quite well.
kidel3 11 months ago
What if we remove the "break;" statements?
FHomeBrew 11 months ago
@FHomeBrew the switch statement will continue and if it will find another true case it will execute whats in that case. example:
var x = 50;
switch(x){ case 50: do a stuff; case 250: do b stuff; case 50: do c stuff; default: do d stuff;
}
this will do a and(!) c stuff
JavaFolower 11 months ago
@JavaFolower In Java (long time since I last used that) the switch cases would just cascade until the next break. Regardless of if the case was true or not. At least, that's how I remember it. Never used switch cases that much since I can use math to work around that.
FHomeBrew 11 months ago
@FHomeBrew
Everything below the statement that gets selected is executed, even if the condition isn't true, until it reaches a "break;" or the end.
Kryppuk 11 months ago
@FHomeBrew Try it then. You'll like the results.
kidel3 11 months ago
@FHomeBrew Then it would just run the code over and over.
Bladestorm687 11 months ago
@Bladestorm687 It would eventually run into the "default" statement (which is what it should do when none of the cases matches. That might even need a "break" though. However, since the switch-case construct is not a loop, it won't run forever would it?
FHomeBrew 11 months ago
Great job with these tutorials. Makes learning much entertaining and interesting.
evothepker 11 months ago
sup
imsoterriblybored 11 months ago