title: Is there a jQuery or javascript function that lets me have a countdown timer
body: <p>for a set interval of time that shows the countdown timer on the page. The code below is good unfortunately it doesn't display the time. I am not looking for elaborate lengthy codes but something very simple few lines of code that can get the job done.</p>
  
  <pre><code>&lt;script&gt;
    function myFunction() {
      setInterval(function(){ alert("Hello"); }, 3000);
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>Edit: I don't need a alert. The timer needs to be displayed on the page itself.</p>