Introduction to Functions in JS--8th lesson


ReferenceError: number is not defined

You did not call the quarter function! You made it, now use it!


Could you post your code pls? Otherwise I can just tell that the Reference Errors are thrown by the interpreter not by the author so these are the ones that are definetly real.


Not sure what your problem is without seeing the code but it should look something like this.

// Define quarter here.

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

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


seems to be ok what is the error that you receive? Have you tried to refresh the page?