+ 4
Code problem
Can someone explain why this code doesn’t animate the first block? https://code.sololearn.com/WiIupLb972zy/?ref=app
2 Respuestas
+ 4
Use box.style.marginLeft instead of box.style.left.
In order to left to work the elements needs a position.
+ 4
Thanks alot!!