Finding a Remainder in JavaScrip

Finding a Remainder in JavaScrip
0

Tell us what’s happening:
Please help me fix this shit out

Your code so far


// Only change code below this line

var remainder;
11 % 3 =2;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript

The instructions state:

Set remainder equal to the remainder of 11 divided by 3 using the remainder ( % ) operator.

You have not set the value of remainder. It was already declared for you. You need to assign the result of calculating the remainder of 11 by 3 to the remainder variable.

1 Like