Summiting the right answer and say wrong quarter


#1

var quarter = function (number) {
return number / 4;
}

if (quater(12) % 3 === 0 ) {
console.log("The statement is true");
} else {
console.log("The statement is false");
}


#8 error keeps poping up even though i says it is true
#2

Right now you have quater(12) % 3 === 0 a your condition inside the if" statement. The reason it is the wrong quarter is because quater is undefined. Change "quater" to "quarter" inside the "if" condition and see if that works.


#3

thank you very much :smiley: