This is my code and It tells me that is wrong wher I do wrong


#1

var isEven = function(number) {
// Your code goes here!
if (number % 2 === 0) {
return true;
}
else if (isNaN("number")) {
return "This is not a number!!";
}
else {
return false;
}
};
isEven(prompt("Type a number"));


#2

I think the problem is that you put quotes around "number" in the else if statement. Try it without the quotes.


#3

thank you...it worked