title: My variable isnt working in my alert statement (javascript)
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var total = 0;
          var entrycount = 0
          var entry;
          do {
              entry = prompt("Enter number grade from 0 through 100\n" +
              "Or enter 999 to end entries", 999);
              entry = parseInt (entry);
              if (entry &gt;= 0 &amp;&amp; entry &gt;= 59) {
                  alert("Number grade=  " + entry + '\n' +
                  "Letter grade = A"
                  );
          
              }</code></pre>
  </div>
  </div>
  </p>
  <p>I'm working on a javascript project for school. I need to create a program that prompts the user to enter a number grade and displays that number grade with the corresponding letter grade. I couldn't get it to work because it just skips past the javascript and displays the h1. When I was troubleshooting it I noticed that my variable entry is not highlighted blue as a variable in the alert statement. I don't know if this is the main problem but I can't figure out how to fix it anyway.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt; 
     &lt;html&gt; 
        &lt;head&gt; 
           &lt;meta charset="utf-8"&gt; 
              &lt;title&gt;Show letter grade&lt;/title&gt; 
  &lt;script&gt; 
     var total = 0; 
     var entrycount = 0; var entry; 
     
        entry = prompt("Enter number grade from 0 through 100\n" + "Or enter 999 to end entries", 999);
        entry = parseInt (entry); 
           if (entry &gt;= 0 &amp;&amp; entry &lt;= 59) { 
               alert ("Number grade = + entry\n" + "Letter grade = F") } 
     
  &lt;/script&gt; 
        &lt;/head&gt; 
        &lt;body&gt; 
           &lt;main&gt; 
              &lt;h1&gt;This page is displayed after the JavaScript is executed&lt;/h1&gt; 
           &lt;/main&gt; 
        &lt;/body&gt; 
     &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>