if you want to use a motion animation (changing the left, right, top, bottom position of an
element), then be sure to set the position property in your css
to relative or absolute.
Code Covered
animate
this method accepts css properties and corresponding values as strings in object format
as well as a speed parameter ("slow", "fast", or
numeric time in miliseconds [e.g. 2000]).