title: Quiz App: Buttons in javascript are not functioning
body: <p>Currently I'm working on a quiz in multiple choice format. However, when I click on a button, it simply doesn't work! </p>
  
  <p>Here's the full code of my mini quiz
  <a href="https://github.com/selvabalasingam/TypeQuiz/blob/master/js/app.js" rel="nofollow">https://github.com/selvabalasingam/TypeQuiz/blob/master/js/app.js</a></p>
  
  <p>But I'm sure that the problem lies between lines 89-103 (I've pasted a portion of this code below)</p>
  
  <pre><code>$('button.choice').click(function(e) {
      var choice = $(e.target).text();
      var question = quiz.getCurrentQuestion(); 
      // check if the answer is right and update question number and score
      if (Question.answer == choice) {
          getTotalCorrect = $('.questionCount').text(getTotalCorrect+1); 
          getScore = $('.scorePercentage').text(getScore);
      }
      else {
          getTotalCorrect = $('.questionCount').text(getTotalCorrect+0); 
          getScore = $('.scorePercentage').text(getScore);
      }
      // then go to the next question
      getNextQuestion();
  });
  </code></pre>
  
  <p>Can anyone tell what the problem is? Is there a way I could fix this?</p>