HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

27 - Coding Animations by Using


JavaScript


Animation is the modification of static images to create the effect of


movement. Animation can be used to dynamically move objects in the user


interface. We can leverage JavaScript to create powerful animations.


To demonstrate how to create HTML animations with JavaScript, we


will use a simple web page.


<!DOCTYPE html>







My First JavaScript Animation


My animation will go here



All animations should be relative to a container element.


<!DOCTYPE html>





Free download pdf