title: Syntax Error: Unexpected token Else
body: <p>I am learning Javascript via Codecademy and no have been stumped on this little piece here.</p>
  
  <p>I have supposed to write an if else statement.</p>
  
  <p>It shows me here in the following that there is a Syntac Error with a missing identifier:</p>
  
  <pre><code>var userAnswer = prompt("Are you feeling lucky, punk?");
  
  if (userAnswer === "yes");
  {
  
      console.log("Batman hits you very hard. It's Batman and you're you! Of course Batman wins!");
  }
  
   else {
  
      console.log("You did not say yes to feeling lucky. Good choice! You are a winner in the game of not getting beaten up by Batman.");
  }
  </code></pre>
  
  <p>What is wrong with that.... There is no error in this example here:</p>
  
  <pre><code>if (age &lt; 18)
  
  {
  
      console.log("We take no actions or responsibility. Play at your own risk!");
  }
  
  else
  
  {
  
      console.log("Enjoy the game");
  }
  </code></pre>