title: JavaScript If Else with Return
body: <p>Still doing the Codecademy training for JavaScript and I've hit a road block. </p>
  
  <p>Here's the code:</p>
  
  <pre><code>var isEven = function(number) {
  if (isEven % 2 === 0) {
    return true;
  } else {
    return false;
  }
  };
  
  isEven(2);
  </code></pre>
  
  <p>So I'm referencing the variable "isEven." Then, I'm telling it to check the number and cross-check it with the modulo to check the remainder against 2 to find out if it's even. If it is, for example, 2 like in the example it should return a remainder of zero, therefore the if is true and it returns true. But it returns false every time. There's no warning messages in the code but when I hit save and it checks it it gives me this message:</p>
  
  <p>"Oops, try again. Looks like your function returns false when number = 2. Check whether your code inside the if/else statement correctly returns true if the number it receives is even."</p>