create and animation js code example
Example: js animation
You can learn js animation from here
https://www.w3schools.com/howto/howto_js_animate.asp
You can learn js animation from here
https://www.w3schools.com/howto/howto_js_animate.asp