title: JavaScript -Change CSS color for 5 seconds
body: <p>I am trying to make a way of briefly highlighting the text on named links - but only for a few seconds.</p>
  
  <pre><code>&lt;a href="#faq1"onClick="document.getElementById('faq1').style.color='#f00'"&gt;
  </code></pre>
  
  <p>So on a list of FAQs - it jumps to the proper ID, changes the color to red for a few seconds as a visual cue to the end user (the answer is here).  but then returning to normal color and the interval is complete.</p>
  
  <p>How do I make the above function to work for only a set period of time?</p>