JSFiddle - React, Tailwind, and code Playground
HTML
<table border="1px" id="mytable">
<tr>
<td>one</td>
<td>two</td>
</tr>
<tr>
<td>200</td>
<td>50</td>
</tr>
</table>
CSS
.lowerthan100{
background-color:red;
color:white;
}
.higherthan100{
background-color:white;
color:red;
}
JavaScript
$('#mytable td').each(function() {
if(parseInt($(this).html())>100){
$(this).addClass("higherthan100");
}else if (parseInt($(this).html())<100){
$(this).addClass("lowerthan100");
}
});