##Question 1
So, you're on the right track, which is great! And I can see what's tripping you up here.
It's what's happening when you click the button and the .onclick
function is run. So let's run through this a bit.
When you're going through for loop, each time around, you create a function that will run when the button is clicked.
And there's the trick, that function won't be executed UNTIL the button is clicked. So I want you to look at the code
inside that function and tell me what all of the values would be when that function is executed after you click it.
[PAUSE....] ... maybe get the right or the wrong answer