Not sure what the issue is regarding my code.

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

It says there is a problem with my syntax.


.A quick look tells me you are missing a ( in the if statement:

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

Have not tested the whole code tho..so not sure if that is the only issue here.

Please like my post ff I have helped you. Thanks.


That was it. Thank you!