else if (isNaN(number) === true)
should just be:
else if (isNaN(number))
I tried that too, but it doesn't change the response the site gives me. I even put is isEven(3) to prove that it doesn't return a true. I don't know what to do when my function is correct but the site says it isn't.