20. Math and the Modulo - Help please!


#1

Im not sure what im doing wrong with this, could anybody help?


https://www.codecademy.com/courses/getting-started-v2/3/3?curriculum_id=506324b3a7dffd00020bf661#


It keeps saying "Oops, try again. Did you use modulo to find the remainder of 14 / 3 ?"


console.log(18 % 4);
console.log(14 % 3);
console.log(99 % 8);
console.log(11 % 3);


#2

Try to comment the first line by writing // before it:
// console.log(18 % 4);


#3

Thanks so much, it worked! :smiley:


#4

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