title: Hide "shot" after display:block
body: <pre><code>function increase() 
  { 
  var counter = parseInt(document.getElementById("counter").innerHTML);
  counter--; 
  var add = counter -1;
  document.getElementById("counter").innerHTML = counter; 
  </code></pre>
  
  <p>// show an element
  document.getElementById("shot").style.display = "block";</p>
  
  <p>I press a button which displays "shot" but I want it to turn off again when I let go.</p>