Skip to content
Advertisement

countdown timer stop (how to do in this situation)

i try to do countdown timer. But i get a double timer on the third click,and the more and more after next click… I am racking my brain trying to figure how do this. Can you help me?

JavaScript
JavaScript
JavaScript

Advertisement

Answer

Clear the interval in your JavaScript file as follows every time in the goTime function:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement