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
2 Answers
+ 1
Well everything seems to be going okay, the only thing being that nothing happens if the time runs out
+ 1
works well on web version but wrap your js code in onload function and it will work here too