title: JavaScript count down, add hours & minutes
body: <p>So, I have the below (seconds countdown) in good order. But! I am trying to add hours &amp; minutes as apart of the count down as well. Ideally keeping the same structure, and just using pure JS. I would like the output to be:</p>
  
  <p><strong>There is X hours, X minutes, and X seconds remaining on this Sale!</strong></p>
  
  <pre><code>var count=30;
  
      var counter=setInterval(timer, 1000); //1000 will  run it every 1 second
  
      function timer()
      {
        count=count-1;
        if (count &lt;= 0)
        {
           clearInterval(counter);
           return;
        }
  
       document.getElementById("timer").innerHTML=count + " secs"; // watch for spelling
      }
  </code></pre>
  
  <p><em>If the solution has to be a rewrite with jQuery or another library; that's fine. Just not preferable.
  Cheers and Salutations for any help.</em></p>