Please help


On No.8 I don't understand the instructions. Could someone please 'baby them down' for me. If possible thanks!


Also, so I am not violating the rules: my code so far is var quarter = number;
I don't exactly understand what it's asking me


You need to create function and use it with if-else statement.

  1. Create function quarter (look to previous lesson 7). This function should return quarter of the parameter: number / 4.
  2. Use it. Inside the if statement's condition ( ) call your function quarter.
  3. Check if statement's condition returns true.


Thanks for the help, I passed the lesson but it said number is not defined. Here is the code
// Define quarter here.
var quarter = function(quarter) {
return number/4

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


Function quarter() has parameter named quarter but in function you are using number. Change parameter from quarter to number.

Also here:

if (quarter() % 3 === 0 ) {...}

Put argument in function quarter:

if (quarter(36) % 3 === 0 ) {...}


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