Using Javascript
Fundamentally, to animate is to change properties over time—something that Javascript can also do natively!
The circle moves to the right by n pixels until its position reaches the width of the window and resets using Javascript and requestAnimationFrame()