Going Into the depth

I finished half of the javascript curicullum.I am comfortable with scripting algorithms but how to make web designs and animations using js.Like animations using only js and not any other library.

setTimeout, the basic thing that works (I want to do a thing after n milliseconds. When I do it, do another thing after n milliseconds, and so on):

Better: setAnimationFrame. Basic thing you generally want instead of setTimeout:

This almost has full rollout, and the polyfill works fine where it isn’t supported. Covers basically all CSS animation API + some more

Canvas for other stuff, games for example. Super robust, fairly easy to use…

…and allows WebGL, which can be used for interactive 2d/2d graphics:

oooo… I’m bookmarking that WebGL one. Something to scope out next weekend.