title: Compare strings without being case-sensitive
body: <p>I have problem with a variable I made (it's a string) in JavaScript. It will be <code>prompt</code> from the user and then with the <code>switch</code> I will check if it is true or not. Then when I input it upper case it will say it is identified as a another var.</p>
  
  <p>Here is my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var grade = prompt("Please enter your class") ;
  
  switch ( grade ){
      
      case "firstclass" :
           alert("It's 500 $")
           break;
      case "economic" :
           alert("It's 250 $")
           break;
      default:
           alert("Sorry we dont have it right now");
  
  }</code></pre>
  </div>
  </div>
  </p>