title: Javascript Syntax Error - if/else statement
body: <p>this is my first question so apologies if my issue is not clearly displayed. I'm getting error messages with the 'else' part of the if/else statement. About half-way down the code I've commented on the right hand side of the line where I'm getting the error. Don't know what's wrong with the syntax.</p>
  
  <pre><code>var userChoice = prompt("Do you choose rock, paper or scissors?");
  var computerChoice = Math.random();
  if (computerChoice &lt; 0.34) {
      computerChoice = "rock";
  } else if(computerChoice &lt;= 0.67) {
      computerChoice = "paper";
  } else {
      computerChoice = "scissors";
  } console.log("Computer: " + computerChoice);
  var compare = function(choice1, choice2) {
   if(choice1 === choice2) 
   return "The result is a tie!";
  };
  else if(choice1==="rock")  //GETTING ERROR MESSAGE
       if(choice2==="scissors");
           {return "rock wins";
       }
       else {
           return"paper wins";  //GETTING ERROR MESSAGE
       }
  }
  else if(choice1==="paper") {   //GETTING ERROR MESSAGE
       if(choice2==="rock"); 
       {
      return "paper wins";
       }
       else {
       return "scissors wins";
       }
  }
   else if(choice1==="scissors") {
        if(choice2==="paper")
        return "scissors wins";
   }
        else {
       return "rock wins" }
       }
  </code></pre>