Cornerstone OnDemand Interview Question

(On-site) How would you create an animation using just JavaScript?