EXERCISE A: a short story

In this exercise, try telling a short story using JavaScript.

Here the steps you’ll need to take:

  1. Create a variable that contains all of the lines of your story (this should be an array of strings)
  2. Create a variable that tracks your place in the array (this should be a number)
  3. Create a function that does the following:
  4. Add that function to a button via the onclick attribute