[SOLVED]8/13 Heelp!


#1


https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/1/3?curriculum_id=506324b3a7dffd00020bf661


Oops, try again. Did you remember to call quarter() inside the if statement with a value that would cause it to print 'The statement is true'?


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


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


#2

Hey @ginageorgiana

It seems like the function you've defined here

requires an argument in it. However, when you called the quarter function:

You didn't put any number in argument, that's why it's going to execute the else statement. Hope this helped! :wink:


#3