I need help!


#1


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

It says that there is an unexpected token. That I have a syntax error.

var isEven = function(number) {
  if (number % 2 === 0) {
      return true
  } else if (isNaN(number); // => true) {
      return "You didn't put in a number"
      } else {return false}
};

isEven(92)


#2

this line:

else if (isNaN(number); // => true) {

contains a few flaws, a unnecessary semi-colon, two opening brackets, one closing bracket, the other one is commented out. And your opening curly bracket is also commented out


#3

you are missing brackets on your else if