I'm stuck on 8/13 - not sure why its wrong it keeps on saying "Oops, try again. Did you remember to call quarter() inside the if statement with a value that would cause it to print 'The statement is true'?"


#1

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

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


#2

var quarter = function(number){
return number/4
};
if (quarter(12) % 3 === 0) {
console.log("The statement is true");
} else {
console.log("The statement is false");
}


#3

use this code above to make it work


#4

Exactly

8/4 = 2
2%3 = 2
2 == 0 --> false

12/4 = 3
3%3 =0
0 ==0 -> true