Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Connecting with the DOM

Assignment:

  1. Create a new file called app.js inside the js directory.
  2. Inside app.js, initialize a new Game object.
  3. Inside Game.js, add an empty method to the Game class called startGame(). Leave this method blank, we will fill it out in future steps.
  4. Back inside app.js, add a click event listener for the HTML button element #begin-game (this button element is provided i...