title: JavaScript timer for a quiz
body: <p>I am making a quiz game for a project in HTML and JavaScript. On every question, the player has 15 seconds to answer. I managed to do it like this:</p>
  
  <pre><code>&lt;body onload="setTimeout(Timer,15000)"&gt;
  </code></pre>
  
  <p>and then in Js:</p>
  
  <pre><code>function Timer()
      {
           alert("You are out of time!");
      }
  </code></pre>
  
  <p>However, I want to be able to display how much time the player has left in a <code>&lt;p&gt;</code> tag. How could I do that?</p>