title: onChange / onInput alternatives?
body: <p>I'm creating a typing test page and running into a small issue.</p>
  
  <p>I'm trying to start the timer when the user types, and using onInput works, but the problem is that it registers every time I type into the textArea which causes the starttimer function to repeat itself.</p>
  
  <p>onChange works but it only works after I click outside the page which makes sense, but is not what im looking for. I need the timer to start as soon as the user starts typing. Also with onChange the stop function works, but the timer starts after i click outside of the page.</p>
  
  <p>Is there a JS event that fits what i'm looking for, or is there a way to change onInput or onChange to fix the problem i'm having.</p>
  
  <p><em>JavaScript</em></p>
  
  <pre><code>document.getElementById("test-area").onchange = function () {
        startTimer(1);
  };
  </code></pre>
  
  <p>Thank you.</p>