In order to make our animations smooth, the number of frames per seconds will need to match the monitor's refresh rate of 60/s. In this post, we'll look at how requestAnimationFrame() provides a better alternative to older methods for animating in the browser smoothly and efficiently.