title: How to change colour of text when using document.getElementById("id").innerHTML
body: <p>I am trying to change the text of a span to something else when a particular event occurs. I am doing this as : </p>
  
  <pre><code>document.getElementById("usernameError").innerHTML = "**Message";
  </code></pre>
  
  <p>I want to display the same in a different colour. Any idea on how to do that? 
  Much appreciated!</p>