The story so far: if, else, and loops


#1


https://www.codecademy.com/courses/javascript-beginner-en-qDwp0/0/1?curriculum_id=506324b3a7dffd00020bf661#


Oops, try again. Looks like your function returns false when number = 3. Check whether your code inside the if/else statement correctly returns true if the number it receives is odd.


var isEven = function(number) {
  // Your code goes here!
  if (number % 2 == 0){
      return "false"
  } else {
      return "true"
  }
};
isEven(3)


#2

lol sorry, I fixed it...


#3