Add JavaScript

Finally, let’s add the fun part: the Javascript! Click here to see what this commit should look like.

gif of following the directions below

  1. Copy the Javascript from Codepen into the src/renderer.js file.
  2. Spin up your app with npm start, and see how it works.
  3. Save and commit your changes.

It’s great to have a working game! What else could you build? How could you change this game? Feel free to make it your own by changing the images, changing the game functionality, or even adding sound!

Stuck? Open an issue in the repository for this class and mention @githubteacher for help from one of the GitHub trainers!