8. Functions if/else


#1

The error i'm getting is "ReferenceError: quarter is not defined"

// Define quarter here.

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

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

Any help would be much appreicated
Thanks in advance


#2

You miss an "r" in your quarter function.


#3

Ahh of course, spent too much time looking at the code and not the spelling, Appreciate it!