I am pretty sure I am suppose this statement
<p>OK, I am kinda stuck on this one. I am looking in my book. </p>

<p>I am thinking I am supposed to use the if or the else statement with this. When I try to validate it is coming up with 3 errors.Can someone point out hints to what I am missing? </p>

<p>Thank you. I'm not this far in javascript yet.</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
&lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
&lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;&lt;/title&gt;
&lt;link rel="stylesheet" href="js_styles.css" type="text/css" /&gt;
&lt;script type="text/javascript"&gt;
//&lt;![CDATA[
&lt;!--HIDE FROM INCOMPATIBLE BROWERS
function checkGrade(grade) {
switch(grade) {

    case "A":
        document.write("Your grade is excellent.");
        break;
    case "B":
        document.write("Your grade is good.");
        break;
    case "C":
        document.write("Your grade is fair.");
        break;
    case"D":
        document.write("You are barely passing.");
        break;
    case"F":
        document.write("you failed.");
        break;
    defult:
        document.write("You did not enter a valid letter grade.")
        break;

    }
    }
//STOP HIDING INCOMPATIBLE BROWERS--&gt;
//]]&gt;
&lt;/script&gt;
&lt;/head&gt;
&lt;body
&lt;form name ="gradeForm" "action" =""&gt;
&lt;input type="text" name="grade" /&gt;
&lt;input type="button" value="CheckGrade" onclick="checkGrade(document.gradeForm.grade.value);" /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
