If/else #1 - I've got an error in my syntax


#1

Can someone see what I've done wrong with my code here? I'm being told there is a Syntax error on the If/else challenge!

`
var isEven = function(number) {

if (number % 2 === 0); {
return true;

} else {
return false;
}
};>


#2

@lisa.jordie

Hi, remove the >


#3

Hi and here remove the ; after the if condition

if (number % 2 === 0);  <== this one

#4

Hi there! Thank you both so much - I keep making such silly mistakes! Trying to get better at not missing the curly brackets and placing the semicolons in the wrong places!


#5

Thank you thank you!!!