I think this lesson may be broken


#1


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

Oops, try again. Hmm, it looks like your quarter function doesn't return -25 for -100.


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




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


#2

nvm, function was missing return


#3

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