I have no idea why this is wrong please hep


Can anybody spot what I am doing wrong here? it prints out my console.log but keeps saying

   Oops, try again. Make sure your if/else if/else statement returns a
    string when the function input isn't a number.

var isEven = function(number) {
if (number % 2 === 0)
{ return true;}
else if (isNaN (number) )
{ return console.log ("thats not a number silly");
{return false;}


You can't return a console.log.... you must return the statement itself.

return "__________"


THANK YOU SO MUCH! I can't believe i forgot that lol :smile: you are awesome.