# 8 what's wrong is it?

#1

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

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

#2

Two things wrong with the above code...

1. function(number);{ should have no semi-colon between parameter list and code block; and,
2. reture number/4 should read, return number / 4;

This whole segment may be removed:

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

Finally, this segment needs an argument in the function call that once divided by 4, will be divisible by 3. Think Least Common Multiple of 3 and 4. What is it? That would be 12. Therefore, our argument should be any multiple of 12. Zero will also satisfy this, but let's work with a whole number.

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

I haven't checked the instructions to see if you are using the correct phrases, so double check, to be sure.