title: Javascript blinking with setTimeouts
body: <p>Helllo i am getting problem with blinking every 0.5 seconds. I start my code with #blink display= "inline" but it always stays inline. When starting my code, i call startBlinking.</p>
  
  <pre><code>    function startBlinking() {
      setInterval(function () { 
          blink();
      }, 1000);
  }
  
  function blink() {
      setTimeout(function () {
          document.getElementById('blink').style.display = "none";
      }, 500);
      setTimeout(function () {
          document.getElementById('blink').style.display = "inline";
      }, 500);
  }
  </code></pre>
  
  <p>Can you help me? Thanks.</p>