Functions: Exercise 8


Functions Exercise 8

I do not receive any errors in the code but I cannot get anything to appear in the console. The exercise tells me the code is correct but nothing shows up.

var quarter = function(number){

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


That line should be in your other function.

Remember to include the argument, number in that call.

No logging in the function. Check the instructions for the proper return statement suggestions.

That line does not belong and should be removed.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.