Is it possible to build a countdown timer for auto submit without javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to build a countdown timer for auto submit without javascript

I want to build a timer to submit after some time if the user didn't hit submit bottom without js

31st Mar 2020, 4:21 AM
yasin
1 Answer
0
you can use setTimeout() function , Which works asynchronously ,and below code fires that function after 3 second so you can put your code inside that function https://www.sololearn.com/learn/10258/?ref=app setTimeou(function (//timer code){},3000)
31st Mar 2020, 4:57 AM
Sudarshan Rai
Sudarshan Rai - avatar