var isEven = function(number) {

// Your code goes here!

if(isEven % 2 === 0){

return true;

} else {

return false;

}

}

Looks like your function returns false when number = 2. Check whether your code inside the if/else statement correctly returns true if the number it receives is even.

I thought to find an even number we use % and if there is 0 remainder then it is even/true. I also know that 0 is false and 1 is true. So why am I getting this error and how do I get around this? Is (isEven % 2 === 0) true or not?