Writing For and Do Loops in JavaScript
For and Do loops are a lot like While loops. Isn't that a loopy sentence? All loops have the fundamental purpose of making your job as a programmer easier. They allow you to do more with less! You get more work out of your program and write less code at the same time. Let's take look at some examples:

JavaScript For Loop

JavaScript Do Loop

You will need to view source on these files to see how they work. You can also view these files in the public directory as text files "js_12.txt" and "js_13.txt."
Assignment
Make one HTML page with three examples of both For and Do loops. Save it in your directory under the name "loopy."