Alison's New App is now available on iOS and Android! Download Now

DOM – Interactive Website Game using JavaScript

Learn how to use the Document Object Model and JavaScript to create interactive web games in this free online course

Publisher: Laurence Svekis ✔
The Dominant Object Model (DOM) allows you to manipulate website elements, and create new ones without changing its HTML code. In this free online course, you will be introduced to DOM and learn how to use JavaScript to create webpage elements, move elements and create animations that make websites engaging and responsive. You will also learn, step by step, the process involved in developing an interactive website game using JavaScript.
DOM – Interactive Website Game using JavaScript
  • Duration

    1.5-3 Hours
  • Students

  • Accreditation






View course modules


This course will introduce you to Document Object Model, and how it could be used to make very responsive websites. The course begins with a demonstration of how to set up the developer tools that would be used in developing the game, followed by an explanation of the Document Object Model. It then goes on to demonstrate how JavaScript could be used to manipulate element style and position. This half of the course concludes by demonstrating how to use the DOM to create responsive animations for our web game.

The second half of the course demonstrates how to use the DOM to set random positions and create new webpage elements for the web game. It also demonstrates how JavaScript is used to make game elements move across the webpage, and how collision among different game elements can be detected and used to create gameplay and keep score. The course concludes by demonstrating how to make visual and gameplay refinements on a website game.

This course covers the process of using the Document Object Model to create a very interactive web game. You will be exposed to very vital knowledge needed to make very interactive, visually appealing, and highly responsive web pages. If you are a web designer, or would just like to take on a fun, rewarding, short game project, start this course now and learn to create a fully functional and responsive website game in just three hours.

Start Course Now