I want to say (on the beginner rights) it's been very well explained compare to other sources! The most difficult part of learning javascript is to find a good source to learn from!
This is the Best JavaScript tutorial ever on UA-cam. Well constructed course structure for easy understanding. Brilliant educative step by step lessons for beginners. Well done mate. Thanks
wow i am beginning to love this guy tutorials,i'm always trying to understand the while loop but your explanation made me understand it. Thank you so much Net Ninja
I didn't understand the age++ part. To be more specific, I didn't understand how/when is this loop going to take place, exactly? You said if we don't use "age++" it will cause the computer to crash. But how/when exactly does that age change? In other words, how long does it take for this specific loop to "go around" ??? Thanks a lot for the very useful tutorial. Im really enjoying it!!! Thank you!!!
Best videos i have found on the subject, so simple a mare child could understand and that is exactly what you want with a guide. Started my way with codeacademy which was good but i get a much better understanding in a whole with these vids, recomended for everyone that are new to javascript! Big ups to this dude!!! Sub him, he deserves more.
Great video! You explain JS so much better than my professor. Anyway minor minor error spotted: I think the very last line of code should be document.write("You are now at least 10 years old!"); since 10 is not over 10 haha. Cheers from Singapore!
I mean this could just be a for loop, right? I was hoping for maybe a while loop that's reliant on something being true or false. It was just hard to concentrate on under what circumstances I might use a while loop when it didn't feel necessary. If you see what I mean? I do think you explained things clearly in this particular example. But, I think I need to keep looking for examples.
Thanks. How do you make a while loop for multiple conditions? Like a while loop for if age < 21 AND userDrinkSelection = alcoholic { then run some code }
Hi , i really like watching your videos altought my english is not good enough to understand everything ur saying. can you add subtitles in turkish? i'm pretty sure all of your turkish fans will appreciate this and you will get more view. Thank you for attendion.
While loop is used in situations where we do not know how many times loop needs to be excuted beforehand. For loop is used where we already know about the number of times loop needs to be excuted. Typically for a index used in iteration.
console.log will write on the console on the side whereas document.write will write on the browser. Here also, you can use document.write instead of console.log but then it will print " your age is less than 10" five times on the browser. There are no necessary conditions in which to use the console.log. You can use it if you don't want the viewer to see something, then you can get it to print on the console using console.log. the net ninja answered a similar question in the comments. here it is: Mortdecai Rigby What is and in what circumstances console.log is usable? The Net Ninja Hey, you'd use it maybe to debug your JS as you're working on something, to check the value of a variable, or just to test the functionality. It comes in handy :) hope this helped :)
Hey, you'd use it maybe to debug your JS as you're working on something, to check the value of a variable, or just to test the functionality. It comes in handy :)
Ashwini Abhishek Open an HTML file and select File > Live Preview ( or click the "lightning bolt" icon). Brackets will launch Chrome and open your file in a new tab.
I want to say (on the beginner rights) it's been very well explained compare to other sources! The most difficult part of learning javascript is to find a good source to learn from!
That is so true! Kudos for you.
I am so happy I can cry right now.
age++, the key that I was missing.
I never realised that with (i=0; i
I cannot begin to tell you how much this has helped as a supplement to my Odin Project/Freecodecamp curriculum. Thanks so much Shaun!
i was so confused on FreeCodeCamp.. Thanks for such a good vid!
dope video man... simple and very clear explanation! and i see u got active videos subbed
Nice and clear, cheers!
This is the Best JavaScript tutorial ever on UA-cam. Well constructed course structure for easy understanding. Brilliant educative step by step lessons for beginners. Well done mate. Thanks
Thanks so much man, much appreciated!
wow you solved my frustration! thanks! I've been stuck on the while loop for a while. great video!
I see what you did there 😂
wow i am beginning to love this guy tutorials,i'm always trying to understand the while loop but your explanation made me understand it. Thank you so much Net Ninja
Clear and concise as always. Your videos are the best.
Best tutorials, Ever! Thank you so much!
Great tutorials man! Love the satisfying clicks of your mouse tho!
Thanks for the video! I was completely stuck on how to do while loops prior to watching it!
Thank you so much for this! Simple and clear explanation!
I didn't understand the age++ part. To be more specific, I didn't understand how/when is this loop going to take place, exactly? You said if we don't use "age++" it will cause the computer to crash. But how/when exactly does that age change? In other words, how long does it take for this specific loop to "go around" ???
Thanks a lot for the very useful tutorial. Im really enjoying it!!! Thank you!!!
Simple enough. Am getting the hang of coding faster then I thought !
var enemies =10;
while (enemies > 0) {
document.write ("Engaging enemies!");
enemies--;
}
document.write("All enemies destroyed");
Man, can't thank you enough you explain things so clearly and well for me to understand ❤️
Very clear explanation on while loops! Thank you for making it so clear!
1:22 That will crush your coumputer...so, I'll show you that in a second. :D
Great videos, though! Thanks!
lol
Omg your teaching just clicks for some reason, bravo!
Great tutorial - thanks for sharing!
Makes so much sense, thank you!
Thank you for your vid! and what about while loop with if? I'm stuck on one...
Thanks for explaining this! Saw that you are active as well and immediately subbed.
Best videos i have found on the subject, so simple a mare child could understand and that is exactly what you want with a guide. Started my way with codeacademy which was good but i get a much better understanding in a whole with these vids, recomended for everyone that are new to javascript! Big ups to this dude!!! Sub him, he deserves more.
Oh my word!! I just sent him a similar message and just saw yours! It’s so true!! I’m doing freecodecamp but I always end up here!
Better explanation than Colt Steele
Ronniel Javier yes! I was doing his Udemy course and I didn’t understand it until now.
YOUR VIDEOS HAVE HELPED ME SO MUCHHHH SO THANK YOU VERY MUCHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
welcome mate
Great and unique clarification. Thank you!
Thank you very much for explaining it so simply
Now I finally get it! Thanks a lot!
Wow, m8, finally got it. Thanks for the perfect explanation.
No problem, glad it was helpful Pavle 👍
Great video! You explain JS so much better than my professor. Anyway minor minor error spotted: I think the very last line of code should be
document.write("You are now at least 10 years old!");
since 10 is not over 10 haha. Cheers from Singapore!
You are genius bro!
Ivan brought me here.
same bro ! haha
Wonderful man!! Excellant🎉
Thanks a lot! :) glad it was helpful
I mean this could just be a for loop, right? I was hoping for maybe a while loop that's reliant on something being true or false. It was just hard to concentrate on under what circumstances I might use a while loop when it didn't feel necessary. If you see what I mean? I do think you explained things clearly in this particular example. But, I think I need to keep looking for examples.
Thanks.
How do you make a while loop for multiple conditions?
Like a while loop for if age < 21 AND userDrinkSelection = alcoholic
{
then run some code
}
Thanks bro, this was really helpful!
Hi , i really like watching your videos altought my english is not good enough to understand everything ur saying. can you add subtitles in turkish? i'm pretty sure all of your turkish fans will appreciate this and you will get more view. Thank you for attendion.
I wished this tutorial on the top of 'while loop javascript tutorial' keyword search. we are overcrowded with long and complicated videos
The Net Ninja what text editor you using??
what is the difference between "for loop" and "while loop"?
While loop is used in situations where we do not know how many times loop needs to be excuted beforehand.
For loop is used where we already know about the number of times loop needs to be excuted. Typically for a index used in iteration.
love your videos
Hey net ninja please correct me if I'm wrong but if age is equal to 10 wouldn't the document.write message be wrong Since 10 is not less that 10
YAY I FINALLY UNDERSTAND!
When & why to use console.log & Document.write & difference between them please reply
I am watching currently whole playlist of JS
console.log will write on the console on the side whereas document.write will write on the browser.
Here also, you can use document.write instead of console.log but then it will print " your age is less than 10" five times on the browser.
There are no necessary conditions in which to use the console.log. You can use it if you don't want the viewer to see something, then you can get it to print on the console using console.log.
the net ninja answered a similar question in the comments. here it is:
Mortdecai Rigby
What is and in what circumstances console.log is usable?
The Net Ninja
Hey, you'd use it maybe to debug your JS as you're working on something, to check the value of a variable, or just to test the functionality. It comes in handy :)
hope this helped :)
What's the difference between a while-loop and a for-loop?
Can't we use ++age to make it much easier and better, using age++
Thanks! it really was helpful!
What if you want to multiply it by 2 for example how would you do that?
Do you mean multiply the age variable by 2 every iteration?
That would be: age *= 2;
hey ninja wen to use while-loop please rply
what does this do again?
how would you double a variable every 7 days?
I remember in Messenger on Yahoo. The alert box loops. hmmm.
What is and in what circumstances console.log i usable?
Hey, you'd use it maybe to debug your JS as you're working on something, to check the value of a variable, or just to test the functionality. It comes in handy :)
YO WHATS GOING ON GUYS!! NET NINJA FAMILY!! LETS GO!
can you please tell how you run the code in chrome?
Ashwini Abhishek Open an HTML file and select File > Live Preview ( or click the "lightning bolt" icon). Brackets will launch Chrome and open your file in a new tab.
I need this to delete all rows of table.
great tutorial but please can you tell how to do it in notepad
Thank you
We can do that by if else.
Northern accents are oddly appropriate for voices of authority (I'm southern).
nice
But what about those age
Oct 16, 2019
🔝
Thanks bro.. May Allah bless u..
thank you
Ivan brought me here.