Oops your function returns true for 3!


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-qDwp0/0/2?curriculum_id=506324b3a7dffd00020bf661#

<In what way does your code behave incorrectly? Include ALL error messages.>
Oops your function returns true for 3!

```

Replace this line with your code.
var isEven = function(number) {
// Your code goes here!

if (number%2===0){
return “true!!”;
}
else if(isNaN(number)){
return “not a number”;
}
else{
return “false!!”;
}
};

isEven (8);

//the black box shows true but the error tells me that it returns true for 3 even though i didnt put 3 into the parentheses when i called the function

<do not remove the three backticks above>

#2

Hi try to remove The " " around true and false