Basic JavaScript - Finding a Remainder in JavaScript

Tell us what’s happening:
I looked at forum. Wrote the code as people told. but still nothing. 11%3 is not the answer

Your code so far

const remainder = 11%3;
var remainder = 11%3;
remainder =11%3;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

Challenge: Basic JavaScript - Finding a Remainder in JavaScript

Link to the challenge:

Hi there and welcome to our community!

You only need one line of code for this challenge.
You shouldn’t try to declare a variable twice.
You’ve also then tried to reassign the variable once you’ve declared it.

All you need to do in this challenge is edit this single line of code which you started with:

const remainder = 0;

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