Basic JavaScript - Finding a Remainder in JavaScript

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

Link to the challenge:

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 :slightly_smiling_face: Look at the examples to see how it is used.

Thank you so much. This really assisted me.

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