+ 6
How to add timer using javascript?
I want to make a 10s timer.I want the code to end if no response is made by the user within 10s.Please help someone.
2 Respostas
+ 4
What you are searching for is a countdown that does something when it runs out. Google is your friend here.
https://www.google.si/search?ie=UTF-8&q=js+countdown
So here's what I managed to put together from what I've found
https://code.sololearn.com/W4t1TxUFOPwQ/?ref=app
+ 2
Thanks Tim Thuma