Oops your function returns true for 3!


#1



https://www.codecademy.com/courses/javascript-beginner-en-qDwp0/0/2?curriculum_id=506324b3a7dffd00020bf661#


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


#2

Hi try to remove The " " around true and false