Where is the Syntax Error?


#1

var quarter = function(number)// Define quarter here.
return = function(number)/4

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


#2

Hi, here

var quarter = function(number)

You function should have {} like that

var quarter = function(number) {
   //here put the return statement 

}

======
This part

return = function(number)/4

You should remove the = after return

=======
And your if statement your condition should be inside ( ) instead of { }

if (condition) {

}

======
Your condition of the if statement

number/4 % 3 === 0

You don't need of the / after number you just need to put the the call of the function quarter() like that

if ( quarter("here type your number") % 3 === 0)

After doing that refresh the page and save and submite