title: change font css on negative numbers
body: <p>I'm trying to change the font color to red when the number is  below 0. green when above. I've managed to get the entire row to go red thanks to a stackoverflow answer but can't manage to give it to the font itself.</p>
  
  <p>the <code>&lt;?php echo $coin_gain; ?&gt;</code> displays a number that can negative.</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;&lt;?php echo $coin_name; ?&gt;&lt;/td&gt;
      &lt;td&gt;&lt;?php echo $coin_price; ?&gt;&lt;/td&gt;
      &lt;td class="status"&gt;&lt;?php  echo $coin_gain; ?&gt;%&lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;script&gt;
      $(document).ready(function() {
          $(".status").each(function(){
              var value = parseInt ( $( this).html() );
              if (value &lt; 0){
                  $(this).parent().css('background-color', 'red');
              }
          });
      });
  &lt;/script&gt;
  </code></pre>