Hi,
I have this code:

which makes me have a button (Click Me) where every time I click it, the number changes upwards (from 1 to 99). Whenever it reaches 99, another button appears (Reset Me) that makes the count start again. - This makes it necessary to have two buttons.
What I would like to understand was: is it possible to put everything in one button? I believe it's a javascript function that I don't know about.
Thanks,
I have this code:

which makes me have a button (Click Me) where every time I click it, the number changes upwards (from 1 to 99). Whenever it reaches 99, another button appears (Reset Me) that makes the count start again. - This makes it necessary to have two buttons.
What I would like to understand was: is it possible to put everything in one button? I believe it's a javascript function that I don't know about.
Thanks,
Last edited by a moderator: