javascript set interval | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

javascript set interval

hey guys, i made a code with a progress bar so when the setInterval is up, a timeout fades in. Im already done with the code but i dont know whats wrong with it, please help me check my js code, especially the set interval function. If theres anything wrong https://code.sololearn.com/Wk9j38oYKC3l/?ref=app https://code.sololearn.com/Wk9j38oYKC3l/?ref=app

25th May 2022, 11:00 PM
Mikeey
Mikeey - avatar
2 Respostas
+ 1
Well everything seems to be going okay, the only thing being that nothing happens if the time runs out
25th May 2022, 11:38 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 1
works well on web version but wrap your js code in onload function and it will work here too
26th May 2022, 12:23 AM
JOY
JOY - avatar