The Using JavaScript in HTML5 for Animation module provides you with the instructions and devices to develop your hands on skills in the following topics.

  • Creating a simple animation using JavaScript
  • Creating an interactive animation using JavaScript
  • Creating a simple HTML5 Canvas animation using JavaScript

Exercise 1 - Creating Animations using JavaScript

In this exercise, you will learn to create a simple animation in HTML5 page using JavaScript. You will first add animation text to portion of content on a HTML5 page. Then, you will create interactive animation effect by adding a Start and Stop button to manage movement of the shape on the HTML5 page. Finally, you will use canvas element of HTML5 page to create an animation.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.