title: How to record the response time in seconds between two button presses using javascript
body: <p>im in need javascript code which will allow me to record response time in secs and output results (to a document e.g. task_times) for a number start and done buttons presses. I have an online test containing 10 simple html questions pages with a wrapper centering and displaying the questions with answering options. </p>
  
  <p>A START button appears on a new page and the user clicking on it displays the question to be answered. When the user finishes, he presses DONE button to move a new start page for the next question. I would like to record these start and done button press time in seconds and write the difference between times to a text file (possibly with the name of the pages)</p>
  
  <p>Any help is very much appreciated.</p>