1/14 help


#1

IDK what I am doing wrong! Please Help!
var isEven = function(number) {
// Your code goes here!
if (isEven % 2 === 0) {
return true;
}
else {
return false;
}
};


#2

You are supposed to put number there instead of isEven:

If you're not going to even use number, what's the use of it being a parameter for being in the isEven function? Also, as isEven is a variable, you cannot check if it is even or not, for it isn't a number.


#3

if (number % 2 === 0)

Changing the "isEven" to "number".


#4

you have to call your function first .. like this isEven(8); you can put any number you want to replace 8