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


Should be number. Remove the ;.


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.


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