O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript Game Exercise - Quick Click Popper Game

Video Description

JavaScript DOM Document Object Model - explore how to manipulate elements while building a fun interactive game

About This Video

  • Learn to use JavaScript and create elements dynamically
  • Learn to manipulate elements using JavaScript

In Detail

This fully dynamic, step-by-step course teaches you how you can use JavaScript to develop a fun interactive clicking game from scratch. The source code is included to get you started quickly. A fun and exciting way to learn and practice JavaScript.

Course Covers

  • Setting up your development environment
  • Building your HTML page structure for your application
  • Using JavaScript to turn elements into JavaScript objects
  • Adding event handlers to elements to make them interactive
  • Building a dynamic game board grid of elements using JavaScript
  • Create elements
  • Create a gameplay with dynamic content
  • Get game data from JSON files using fetch
  • Update and interact with page elements
  • Apply game logic to score and win games
  • Tweak and update gameplay
  • Code review of all functions used within the game

All code files for this course are available on: https://github.com/PacktPublishing/JavaScript-Game-Exercise---Quick-Click-Popper-Game

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.