title: Program will not load Failed to load resource: the server responded with a status of 404 (Not Found)
body: <p>I am trying to create a code that will determine your school grade by entering your university credits and will output the student name and grade. However I am getting an error I have never seen before. I am new to this and can't seem to debugg it. Thanks in advance!</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html lang="en-US"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;University Credits&lt;/title&gt;
                   &lt;script type="text/javascript"&gt;
                          /* Input Name and Credits from user.
                           * Process the studnets number of university credits.
                           * Outputs the student's Name and School year.
                          */
  
                      function credits() {
                          //Get name and univesity credits from user.
                          var studentName = document.getElementById("nameBox").value;
                          var creditNumber = parseFloat(document.getElementById("creditBox").value);
                          /*Compute number of credits to determine school grade.
  
                          If the number of credits is     And the number of credits           Then the year in school is:
                          greater than or equal to:            is less than:  
                                      0                              30                           freshman
                                      30                             60                           sophomore
                                      60                             90                           junior
                                      90                             ∞                            senior
                          */
                          var credits;
  
                          if (creditNumber &gt;= 0 || creditNumber &lt; 30){
                          credits="freshman"
                          }else if (creditNumber &gt;= 30 || creditNumber &lt; 60){
                          credits="sophomore"
                          }else if (creditNumber &gt;= 60  || creditNumber &lt; 90){
                          credits="sophomore"
                          }else if (creditNumber &gt;= 90 || creditNumber &lt; number.MAX_VALUE){
                          credits="sophomore"
                          }
                          //Display nameand grade to user.
                          var nameCredit= studentName + creditNumber;
                          document.getElementById("nameGrade").innerHTML = nameCredit;
                       }
                  &lt;/script&gt;
                  &lt;/head&gt;
                  &lt;body&gt;
                      &lt;h1&gt;Enter you Name and University Credits to determinet your school grade.&lt;/h1&gt;
                      Name: &lt;input type= "text" id= "nameBox" size=3&gt;
                      University Credits: &lt;input type="text" id= "creditBox" size=3&gt;
                      &lt;button type="button" onlick="credits()"&gt;School Grade &lt;/button&gt;                   
                  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>