title: What can't I get this random quote generator to work?
body: <p>I've been trying to make a "Random Quote Machine" that randomly selects a quote from an array of 5 quotes and inserts the text into a paragraph on a webpage. The Machine uses HTML and JavaScript(jQuery). I suspect my error is pretty simple given how simple the project is.</p>
  
  <p>Here's the HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;Random Quote Machine&lt;/title&gt;
          &lt;script src="jquery.min.js"&gt;&lt;/script&gt;
          &lt;script src="quotes.js"&gt;&lt;/script&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
      &lt;h1&gt;Mason Cooley Quotes&lt;/h1&gt;
          &lt;div&gt;
              &lt;p id="quote"&gt;&lt;/p&gt;
  
          &lt;/div&gt;
          &lt;button id="quoteGen"&gt;Generate A Random Quote&lt;/button&gt;
      &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Here's the JavaScript:</p>
  
  <pre><code>var quotes = ["Innocence is thought charming because it offers delightful possibilities for exploitation.",
  "Every day begins with an act of courage and hope: getting out of bed.",
  "Hatred observes with more care than love does.",
  "To understand someone, find out how he spends his money.",
  "The educated do not share a common body of information, but a common state of mind."
  ];
  
  function getQuote() { 
      return Math.floor(Math.random() * quotes.length);
  }
  
  
  
  $('#quoteGen').click(function() {
      $('#quote').text(quotes[getQuote()]);
  });
  </code></pre>