title: Change button on click for few seconds
body: <p>I would like to change a button's image source for a few seconds on click.</p>
  
  <p>For now i have this:</p>
  
  <pre><code>setTimeout(function(){document.getElementById('buttonImg').src='images/button2.png';},5000);
  </code></pre>
  
  <p>But what this does is changing the image after 5 seconds instead of for 5 seconds.
  I can't figure out how to change the setTimeout function to do so</p>