1 pointI guess I don't understand why you're not setting the value initially, I don't understand what the barrier to doing that is. How about just calling the reset function when the thing loads? That's what I'm talking about for the reset button doing the same thing as when it initially loads.
1 pointThe general reason is that the variables are out of scope or undefined when the code runs. The specific reason depends on the specific code.