Basic JavaScript - Finding a Remainder in JavaScript

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

I got the remainder = 11 % 3; on my code, but it won’t pass

Your code so far

const remainder = 0;
remainder = 11 % 3;

Your browser information:

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

Challenge: Basic JavaScript - Finding a Remainder in JavaScript

Link to the challenge:

A variable that is defined as a const type is “constant” and cannot be changed after it is declared and assigned a value.

Therefore where should your 11%3 code go?

2 Likes

const can’t be changed, You need to change it to let or var.

1 Like

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