title: Prompt command will not work in html
body: <p>I can't figure out how to use javascript prompt command in my html website and I was hoping you guys could help me find my mistake
  <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
          &lt;script type="javascript"&gt;
           var pass=prompt("What is the password")
           if(pass="hack"){
        confirm("welcome");
       } 
       else{
        window.close();
       }
      &lt;/script&gt;</code></pre>
  </div>
  </div>
  
  thanks to all my problem was that it didn't like <code>&lt;script type="javascript"&gt;</code> so I ended up using just <code>&lt;script&gt;</code></p>