Learn Javascript Programming #4: For Loops (Looping Through Numbers, Arrays, Objects)
ฝัง
- เผยแพร่เมื่อ 4 มิ.ย. 2024
- 🔥 Get my FREE project-based Javascript course, zeeee best Free Javascript course in the world, at www.whatsdev.com!
So far, in our last videos, we learned about data types, data methods and properties, and if statements.
Now, we learn about loops - specifically the for loop in javascript. Loops are used to repeat things.
Some real life examples of where for loops are used would be:
1. When working out, you do 12 reps for each set. So, you do the same motion of an exercise 12 times and you stop.
2. Let's say you have a party and you invite 15 friends. Now, you need to serve them some drinks and you go distribute it to your friends one by one for 15 times.
Hope that makes sense!
Happy Coding!
*FOLLOW ME!
►INSTAGRAM @zinnylives
►Business Only: tenzin@whatsdev.com
MY EQUIPMENT LINKS TO AMAZON
The mic I use to record my golden voice - amzn.to/2E3bAEq
The laptop I use to edit my LIT videos - amzn.to/2H00cwx
The keyboard I use to code - amzn.to/2GRnODr
The most ergonomic mouse that I use all the time - amzn.to/2NkVWIX
The best android phone on the market - amzn.to/2TWYbo9
The camera I use to shoot my awesome videos - amzn.to/2BKC7X2
My 4K mirrorless camera - amzn.to/2E31WBL
The best Gaming Desktop - amzn.to/2XgDea7
The best bang-for-buck 4K UHD IPS Monitor - amzn.to/2U0C7cx
The best 29" UltraWide Screen LED-Lit Monitor - amzn.to/2GVVoYI
The memory card I use - amzn.to/2TYawIQ
My High-Def PRO webcam - amzn.to/2U2jIMy
The best storage for my ever-growing collection - amzn.to/2NqV85z
The flash drive I use - amzn.to/2T82PCB
The best Digital Wireless Microphone - amzn.to/2E2YXJz
I love how you're very attentive to all the small details that may trip over new learners. Thanks for this clear explanation on the whole concept!
Ikr. He explained so thoroughly
Like, the explanation is soooo intentional and detailed. 💥
Dude.. you're better than the dude I bought on Udemy.. fak. Thanks for the tutorial!
Lol! i feel the fokin same way
Yeah
Which one did u get?
way better!!!
he is better than traversy media
I'm only six minutes in, and already understand for loops better than I have in the few months I've been learning JS. Thank you for this!!
You, sir, win the clarity award for teaching complex topics. Bear in mind that I've been teaching high school chemistry, biology, physics, and anatomy & physiology for 12 years. Now I'll be learning coding from you for sure! :)
Your teaching style is exactly what I needed to understand my boot camp prework. Thank you!!!
how did you bootcamp go? are you working in the field?
super helpful for me too :D cheers !
OMG, you are the best teacher I've seen in a lot of videos. I had a lot of questions about Loop and Array, you explained clearly and now I understood it. Thank you so much for sharing the video!!!
This is so far one of the best tutorial on loops, Thanks for being this clear and can't wait to explore more of your tutorials.
Explains concepts in a concise manner that most books and vids fail to do. Thanks for the insight.
English is not my native language and with videos on yt I have really often problem to understand people without subtitles, and when guys from my Camp showed us the sources wich i should use to learn I freaked out! But with your channel I have any problem to understanding, and the content is awesome. Thanks from Poland!
That's the best video about JS loops I've watched so far, and I've watched many.
This is clearest explanation of for loops I have ever seen.
this is the best explanation ever. thank you
thank you so much for explaining loops in detail!!! you are so clear and thorough. Best teacher ever!!
I am completely new to this world and I keep wondering if i'm missing something; i read/hear that Javascript is hard but yet with the way you teach it im not only getting it but im really enjoying it too. I know this series is the tip of the iceberg when it comes to my ultimate goal of becoming a web developer but you have made it at least all seem possible. Thank you so much
It's easy to get started but hard to master, but I'm glad I helped you get started :) Also, I love teaching, and I try to make things simple as possible without using abstract terms so that helps too 😃. Keep going! 🔥
Hey Omolola - good luck in your quest to become a web developer :) I am on a similar path and as I am just now starting out (3 months in), I am curious to know how you're doing!
Excellent explanations - thank you! I appreciate how you explain how/why things work. Especially at the end when you're talking about how to iterate through an object and how objects don't have indexes but rather have properties. Little details like that help everything make more sense.
Thank you! Needed to to use for loop and understood it by watching this.
Thank you! You explain things really well.
Dude, you have the gift of teaching... cant wait for your Full JavaScript course! Cheers
THANK YOU I really needed to come across a tutorial like this right now
This explains loops so thoroughly, I finally get whats actually happening, thanks so much!
You are the best finally somebody that knows how to explain. now i understand for loop at the basic. finally thanks.
Thanks so much for this! I liked when you broke it down with the starting point, when the loop should end and the incrementor or decrementer!
Thank you for the thorough explanation! I have a test tomorrow and this video made it so much more clear to me!
I've learned a lot from you!! Thanks
You are the BEST!!!!! Take it from a slow learner that's hardly satisfied and gets easily bored with tutorials. You are the BEST!
Please keep it up!🌹
This is the first time ever watching your video and I am in LOVE with how you explain everything. Thanks Mate!
Thanks for the video!! thankful that you took the time to break it down into parts
Thanks a lot bro. I was struggling a bit with all these concepts and you made it very easy to understand.
Finally!! I have been struggling with getting some questions answered (watched tons of videos and read online for over a week) and this is the first time they've been answered. You answered 2 of my biggest questions right at the end there.-- Printing value and not just property by adding elem again, and..... about the quotes being added because they are really strings. I need to look further into that, but at least now I know what to search for. NOBODY explained those two things (at least not in a way I understood). It's hard to move forward when you don't understand the basics, and it's frustrating spending hours and hours looking at the same crap over and over hoping at least one will make sense! My only problem, is you don't have more videos, lol. THX! I'm convinced that most tutorial videos are NOT for teaching to teach, but for them to "show off" to potential employers, etc, . But this video was all about teaching.
This video was so helpful!
My personal best pick from all over TH-cam to Learn Coding(HTML, CSS, Javascript.. and how to become Fullstack Developer).
No1 is by Divinector
th-cam.com/channels/ki4IDK86E6_pDtptmsslow.htmlplaylists
No 2 is by Traversy Media
th-cam.com/users/TechGuyWebplaylists
You gotta check out these Two Guys!!~ better than Paid Courses!~ Stop watching Unorganized Courses!~
All Videos are Pin to the Point! ~ You won't regret it!!
Though i am late to the party but thanks alot dude. Got stuck with loops and you fixed it for me. No other tutorials i've seen explained in such great detail. I bet even a toddler can understand lol. 🤣
very clear. the clearest explanation of loops I have seen so far
This was a great video that helped me eliminate some of my huge misconceptions about for loop. I'm a beginner to Javascript(Programming in general) and I was quite confused about for loops and such, probably because Khan academy doesn't teach it in the lessons i have already finishes, so i brought my mind to somewhere that always solves my problems which is youtube and stumbled across this video. Anyways, this videos was very helpful to a beginner like me. Thanks...
I think this man get that energy past 3:00 AM. because he explains so freaking good
Thanks man, I've learned a lot
I'm a teacher and I can tell you're a born teacher. You should teach coding to kids! Thanks man, your videos are most helpful to me. I'm getting there!!!
Regards
Mechiel
South Africa
Thanks so so much for your sagacity in clarity . I can most likely work with loops more easily now. Thanks
man, this was really cool! you're better than the guy I paid for!
Incredibly concise thank you
this is the best beginner tutorial for JS. thank you.
very detailed and good explained tutorial ! Thank you for that! :) I was having a trouble to understand for loops ...
You're a great teacher, Thanks!
Thank you for explaning this with such clarity, I was lost and this made it all sound so simple. You are a lifesaver!
I love this guy. his videos are great and easy to understand. If I see him in person will hug him and give him a gift.
Great video, I was struggling to understand for loops but you made it very easy for me. keep on making more videos
You made this so easy to comprehend. Thank you! Finally, I get it.
Thank you! it finally makes sense. ill be watching through your playlist
your tutorial is very detailed. started from the very basics to practical uses
You are super amazing man! I now understand 'for loop' better. Thanks a lot.
Excellent description of for..,loops!!! Wish my bootcamp instructor had been that precise when I started learning programming 6 months ago.
You're a great teacher, thanks man
This was such a big help. Thank you, the object loops were kind of confusing me. This really cleared it all up. You rock
thanks alot man. i really had it hard understanding loops properly but you made it all clear. bless
Great stuff, really great guidelines for teaching,
thanks
Very clear explanation. Thank you !
thank you for the detail explanation !!!
Best TH-cam video so far. Thanks very much
you are special teacher,i love you about how you can explain js
wow thanks man you really break things down video was very helpful
Thanks for the video.. This was really helpful
You are definitely one of the best teachers
Great teaching style! Easy to follow especially for beginners like me.
i cant express ur teaching skills in words ur the best bro !!
I found this extremely helpful! Thanks.
Thanks dude your videos are working for me
This is call THE TUTORIAL ......
Dude, The way you come up with behind the scenes idea, itz seems like, things copy in your mind and directly paste into users mind ... The way you covered typical parts in more simplistic way is awsome ..
Good work .....
Keep posting ..
Unreal video man. Thanks for going into the practical examples
this teaching style is amazing... i wish my teacher explained like this.... the small details matter :)
This was VERY helpful for me. I got stuck on loops in the freecodecamp "basic javascript" curriculum. They didn't even give any in depth instruction before the loop challenges started. Thank you!
Your teaching style is very amazing.
saved my day! really nice explanation for dummies. Made it clear and simple. Ty :)
Your teaching is really perfect.i have learnt alot.
Thumbs up, simple demonstration and well understood
You are the best bro! You are truly good at teaching, please do more tutorials pleassssssss.
this is how every teacher is supposed to explain the shit. Well done Sir.. You are a scholar
Thank you very much for your best explanation god bless u bro
Perfect explanation. Thank you sir
Please upload more courses. You are so good at this
You should continue your learn Javascript videos. Im starting a Javascript class and you videos really make sense to me.
thanks for .length explanation. you just nail it. thank you.
Boy!!
You are good at teaching. God bless you.
Thank you very much for this tutorial...
Great explanation, Thanks mate!
Wow this is the best loop tutorial..thank you so much
Thanks man, brilliant explanation.
Love your videos they help so much
Wow you are a genius. You explain it very well and answer all my questions
Thank you so much for this ❤ very helpful and easy to understand
Is it possible for a loop to get all files in a source folder (e.g. when creating an image slider) without reference to an end point? So that even if i add an image o the src file, it would automatically add that image as a part of the slider.
I've been failing to understand the concept until I watched this video. Thank you so much, mate.
I absolutely subscribing! Brilliant explanation!!
Wow! its been a long journey trying to understand for loops, i mean i understand the theory but i've had a difficult time applying other things, like arrays in loops, etc. I believe i got it, but if i did, i want to send you a big hug. Thank you so much,
Puerto Rico
You are a great teacher!
Thanks for the tutorial it was really tough trying to get my head around this but you've really simplified it for me. Any advise for pursuing a career in coding as I know a lot of course are quite pricey.
Very helpful tutorial and so well explained!
Your tutorials are the best thanks alot
Thanks a lot this tutorial was totally worth it
This is a great video! Thank you for this!
this video helped me a lot ! thanks !!!! subscribed
Very helpful video, thanks heaps.
Thank you for the Explanation and i expecting that there is more tutorial about JavaScript 💕