The for loop is a good way of trying to get something to loop a specific amount of times.


for (i = 0; i < 5; i++) {
myFunction()
}
This loop will run 5 times, since i needs to be greater than or equal to 5 for it to stop.
Thus, the number or variable where 5 is is how many times the loop will run. The
myFunction() is what the loop will actually loop. These are just some of the most basic
rules about the very useful for loop.