So, this was an actual word-for-word response I got from one of my students. I think they misunderstood me when I told them that I really wasn’t particular about what their code looked like as long as it worked. This was NOT what I meant.

For those not in the know, a “for loop” is a statement in Javascript that lets you execute certain commands as many times as you want. It cuts down on the amount of code you have to create and is a much more efficient way of making something happen multiple times. The alternative is writing the same code over and over… and over…

…you get the idea.

Mr. Z

 

If you’re new here, I always have a bonus panel up on Patreon, if you’d like to become a patron and get bonus content plus custom illustrations, click HERE