+ 3
See It{game}😢😢{solved}
Error It is not working properly https://code.sololearn.com/WF29x8qgViLR/?ref=app
6 Answers
+ 3
SetInterval is the problem why window's failed to getComputed style. The interval value 10 is relatively small that the function was called just before the character's box loaded.
That explains also why it's lagging.
+ 2
Nasif Rahman the problem is that the code is showing is a and it is lagging
+ 2
Don't use setInterval() with 10ms, use requestAnimationFrame instead
+ 2
Gordon getcomputed style is problem
+ 1
The problem is that it is not running
+ 1
Lagging