I’m building a click 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: https://cpstestify.com/click-counter