title: How do I change the color of javascript text?
body: <p>So I have some JavaScript that creates separate text.</p>
  
  <p>When I call it, to make the typing text, I do something like:</p>
  
  <pre><code>&lt;center&gt;&lt;p id="w00t"&gt;&lt;font color="white"&gt;text here&lt;/font&gt;&lt;/p&gt;&lt;/center&gt;
  
  &lt;script type="text/javascript"&gt;
  
  new TypingText(document.getElementById("w00t"), 50, function(i){ var ar = new Array("\\", "|", "/", "-"); return " " + ar[i.length % ar.length]; });
  
  //Type out examples:
  TypingText.runAll();
  &lt;/script&gt;
  </code></pre>
  
  <p>But, the background of my webpage is black, and it prints the line ending array:</p>
  
  <pre><code>new Array("\\", "|", "/", "-"); return " " + ar[i.length % ar.length]; });
  </code></pre>
  
  <p>as black.</p>
  
  <p>How would I make it white?</p>