Tell us what’s happening:
Describe your issue in detail here.
I want to set remainder equal to the remainder of 11 divided by 3 using the remainder (% ) operator. Your code so far
var remainder;
const remainder = 2;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Finding a Remainder in JavaScript
First, don’t add new lines of code. You only want to modify the line that is already there.
“Set remainder equal to the remainder of 11 divided by 3 using the remainder (%) operator.”
So you know you’ll need to use the remainder operator (%). If you aren’t using it then you won’t pass the challenge. Since the instructions also tell you to use 11 and 3 then there’s a good change those should be in your solution as well Look at the examples to see how it is used.