I have two functions for mouse click and keyboard button press to reveal the countdown. The countdown only works once if you fill in the input and press enter or mouse click. After that, it just stops animating the countdown.
Is there any way to know how to do the countdown every time the div has been shown?