This post demonstrates how to use an anonymous function on an html page in order to create a looping action. It is a relatively simple process and the following code is all that is needed to see this in action.
The comments should be pretty self explanatory in this code to see what is being done. Try it yourself!
Should be straightforward. A challenge is for you to use an onClick event to begin and end the interval that you create.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39