Not exactly sure where I messed up?


#1


I'm a bit confused on where I messed up. I thought I had typed everything down exactly the way it said to, but apparently I didn't:

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




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


When I click submit code it comes up with this error message:

"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'?"

But here is the problem. I don't even know what they are talking about.


Replace this line with your code.


#2

this condition:

if (quarter(6) % 3 === 0 )

should evaluate to true. yours doesn't.

a quarter of 6 is 2.
2 % 3 is 2

pick a number which after being divided by 4 is divisible by 3


#3

Oh, thank you man I have been stuck on this for a couple days and now it just seems really simple lol.


#4