title: Countdown with setInterval going too fast
body: <p>could someone help me, I would like to know how to make it so the countdown doesn't go faster every time I click? I assume clear interval but not sure what I need to put. Thanks    </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var cD = 100;
  
  function countDown() {
      if (cD &gt; 0) {
          cD -= 1;
          $(".countdown").html(cD +"s");
      }
  }
  
  $(".countdown-trigger").click(function(){
      cD = 100;
  
      setInterval(countDown, 10);
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.countdown-trigger {
      height: 50px;
      width: 100px;
      background-color: blue;
  }
  
  .countdown {
      font-family: "Teko", sans-serif;
      font-size: 100px;
      line-height: 100px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="countdown"&gt;
      &lt;/div&gt;
      &lt;div class="countdown-trigger"&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>