What can I do to make this code work?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

// Only change code below this line

var remainder= 2 % 11;
remainder 11 % 3 = 2;

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36

Challenge: Finding a Remainder in JavaScript

Link to the challenge:

You are not doing maths here. You are writing a program. The program will calculate the answer, not you. If you tell it to add 1 and 1, ie 1 + 1, you don’t need to tell it that the answer is 2, it will do that calculation for you.

The examples are explaining what the remainder operator does, in maths terms. So if it was explaing what “add” was,

The addition operator + adds two numbers.


1 + 1 = 2

But that what the computer does for you, if you’re asked to set the variable add to the value of 1 + 1, that’s

var add = 1 + 1


1 + 1 = 2

Which makes no sense: = in the programming language you’re learning means “assign the value on the right hand side to the name on the left”, you are not writing equations.