0
setInterval() bug
Okay so ive been making this code for like a week, i finally figured all the logic out and thats when my setInterval stops doing its job. Mind you that the code worked at 50% progress, i finished it and now it doesnt work I tried to use console.log() and made a dummy variable to see which function didnt work and turns out ALL of them not working https://code.sololearn.com/WZNKjRmQ2633/?ref=app Any help would be appreciated
4 ответов
0
Have you tried wrapping all your js inside of
window.onload = function() {
// here your js...
}
Does that change the error?
0
Hizan d.
Just corrections
https://code.sololearn.com/Wd9EM7CzxJ2M/?ref=app
0
lisa, I made sure to wrap the js
Aj, thank you i will check them out
0
Sorry long reply i took a break from sololearn cuz i was depressed with my code