My code is not working


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

Lesson 12 - my code is not running

what do you get when you divide 27 with 4 and the % is 3? pick a number thats easier dividable with 4 since that's what you want to return.. If you read the modulo like it is now it says 27 / 4 .. 4 goes in to 27 6 times and you have 3 left.. maybe if you pick another number it will work.. I get how it works, but explaining something you've just learned in english is hard for a dutchguy! Hope you find out how to get it to work.


I realize my mistake after some time. Btw thanks for replying