I need help!



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}



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


you are missing brackets on your else if