title: Accepting UpperCase Values using Prompt in JavaScript
body: <p>I am trying to get my variables to accept <code>toUpperCase()</code> method. I'm not sure on how to go about it.</p>
  
  <pre><code>var userName = prompt("whats your name");
  var up = userName.toUpperCase();
  
  if(userName === "bob".toUpperCase() || userName === "alice".toUpperCase()) {
      document.write("Welcome "+ userName)
  } else {
      document.write("Invalid User Name "+ userName)
  }
  </code></pre>