Finding a Remainder in JavaScript It doesn't accept 11%3 nor 2%11

Tell us what’s happening:

Your code so far

// Only change code below this line

var remainder; 11%3;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36.

Link to the challenge:

You need to change the semi colon after “remainder”

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

Because I get the Errors:missing semicolon and expected assignment or function call and instead saw expression.

var remainder; 11%3
var remainder; 2%11
neither of them works

got it, remainder=11%3;

2 Likes