title: I'm I nesting these if/else if statements correctly in JavaScript?
body: <p>I'm working on a rock, paper, scissors game in JavaScript where I have to let the user know if there was a tie and if there was an invalid user choice besides the rock, paper, and scissors, so I thought that nesting if/else statements would be appropriate. I'm pretty new to JS and can't tell if the reason why my code isn't working is due to incorrect nesting or if it's something else. All I'm getting is a parsing error of unexpected token.</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-js lang-js prettyprint-override"><code>var UserChoice = window.prompt("Select rock, paper, or scissors");
  
  var computChoice = Math.random();
  if (computChoice &lt;= 0.33) {
      computChoice = "scissors";
  } else if (computChoice &lt;= 0.66 &amp;&amp; computChoice &gt; 0.33) {
      computChoice = "paper";
  } else {
      computChoice = "rock";
  }
  
  if (UserChoice === "paper") {
      if (UserChoice === "paper" &amp;&amp; computChoice === "rock") {
          window.alert("You chose paper and the computer chose rock! You win! Paper covers rock");  
      } else if (UserChoice === "paper" &amp;&amp; computChoice === "paper") {
          window.alert("It's a tie!");
      } else if (UserChoice === "paper" &amp;&amp; computChoice === "scissors") {
          window.alert("You lose! You chose paper and computer chose scissors. Scissors cut paper!");
      } 
  } else if (UserChoice === "scissors") {
      if (UserChoice === "scissors" &amp;&amp; computChoice === "paper") {
          window.alert("You chose scissors and the computer chose paper! You win! Scissors cut paper.");
      } else if (UserChoice === "scissors" &amp;&amp; computChoice === "scissors") {
          window.alert("It's a tie! You chose scissors and the computer chose scissors!");
      } else if (UserChoice === "scissors" &amp;&amp; computChoice === "rock") {
          window.alert("You lose! You chose scissors and computer chose rock. Rock smashes scissors!");
      }
  } else if (UserChoice === "rock") {
      if (UserChoice === "rock" &amp;&amp; computChoice === "scissors") {
          window.alert("You chose rock and the computer chose scissors! You win! Rock smashes scissors."); 
      } else if (UserChoice === "rock" &amp;&amp; computChoice === "rock") {
          window.alert("It's a tie! You chose rock and the computer chose rock!");
      } else if (UserChoice === "scissors" &amp;&amp; computChoice === "rock") {
          window.alert("You lose! You chose rock and computer chose paper. Paper covers rock!");
  } else {
      window.prompt("Invalid choice! Choose from rock, paper, or scissors");
  }</code></pre>
  </div>
  </div>
  </p>