If else else


#1

<PLEASE USE THIS 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/1?curriculum_id=506324b3a7dffd00020bf661#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
can’t seem to execute even number as it implies. Maybe reading the instruction wrong.

```

var isEven = function(number) {
// Your code goes here!
if (isEven === even){
return true;
}else if(isEven === 6%3){
return true;
}else if (isEven === 6%5){
return false;
}
};

<do not remove the three backticks above>

#2

figured it out thanks though


#3

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