javascript set interval | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

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

25th May 2022, 11:00 PM
Mikeey - avatar
2 Answers
+ 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 - avatar