+ 15
Animation >> 2 👇📟🚗🆘
Please help. How to animate an object on HTML, CSS, Javascript by clicking on some button or something, on how many pixel 😰😢😭😦😧😵
3 ответов
+ 10
This is why i said you to give the credits to Sololearn in your trending code, because you can copy and modify a work but without knowledges you can't explain how it works. :)
In short... in the Sololearn's code is setted a CSS position and when you click on the button, the car increase his left position through the style property.
This is a basic DEMO... hope it will help you and please, give the credits to Sololearn in your project: https://code.sololearn.com/WlXmYxgv9q4a/?ref=app
+ 4
here's a tip
https://code.sololearn.com/WWXlE7Z9A7aq/?ref=app
+ 2
another tip in svg
https://code.sololearn.com/Wie19JIXOVbC/?ref=app