Forum Academy Marketplace Showcase Pricing Features

Building Click Counter Online Web Application

Hi there,
I’m building a counter web application. I got an issue with my algorithm scripting. My intention is every time I click the “Reset” button. It will reset the count back to 0. However, with my code, when I reset, it will continue the number from the last count.

Can you help me out, please?
See the link below:

Hey @sophiapro95

Thanks for the post and cool demo! It appears you might have worked this out as it worked as expected when I gave it a try. Each click added one and the reset kicked me back to 0. (Nice work!)

That said, if you’re still having issues here, don’t hesitate to contact us directly at [email protected] and we’d be happy to help.

This topic was automatically closed after 14 days. New replies are no longer allowed.