Summary
Keywords
Full Transcript
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this video we'll look at several examples of Loops in Javascript and learn how to iterate through data with while, do while, and for loops. ▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Oi6xNtL_fwCrwpuqylMsgT ✅ Quick Concepts outline: Loops in Javascript (00:00) Intro (0:13) While Loops (3:28) Do not create an endless loop (but don't feel bad if you do..it happens) (4:33) Do While Loops (5:07) The difference of a Do While Loop (6:35) For Loops (6:52) Initialize the counter variable (7:10) Conditional statement (7:18) Increment the counter (9:15) Using the length property of a variable in a for loop (9:45) While (true) (12:20) Break Statements (14:15) Continue Statements 📚 Further Reading: MDN Web Docs: Loops and Iteration: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration 📺 More Beginner JS Videos: freeCodeCamp: https://youtu.be/PkZNo7MFNFg Traversy Media: https://youtu.be/hdI2bqOjy3c The Net Ninja: https://youtu.be/iWOYAxlnaww ✅ Follow Me: Twitter: https://twitter.com/yesdavidgray Reddit: https://www.reddit.com/user/DaveOnEleven Medium: https://medium.com/@davegray_86804 #Javascript #Loop #Tutorial
