Assyst interview question

How to create js animations?