Help


#1


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


var isEven = function(number) {
    if( number % 2 === 0){
  return true;
    }
    else if(isNaN(name));{
        return "That ain't no number";
    }
    else {
        return false;
    }
};


#2

Should be number. Remove the ;.


#3

your else if block syntax is incorrect,

1) remove that semi colon after the parentheses.


2) you are supposed to be checking if your isNan of your number argument is equal to true. You have no defined variable name.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.