If grade is below 75 change color to red
<p>I need help about jQuery.
How I can I make the font color of the 74 into red.
I mean once grade is below 75 font color will change to red or else green if passed.</p>

<pre><code>$("document").ready( function(){

 //alert("working");

var passing_grade = parseInt("75");
var grade = parseInt($(".grade").val());

    if( grade &lt; passing_grade ){
        $(".grade").css("color","#ff000");
    } else {
        $(".grade").css("color","#066d06");
}


} ); 
</code></pre>
