Basic JavaScript - Finding a Remainder in JavaScript

Tell us what’s happening:
Describe your issue in detail here.
I have tried to solve it an d could not. any help

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

Challenge: Basic JavaScript - Finding a Remainder in JavaScript

Link to the challenge:

You only need one line to solve this.
Delete the other one and then change this one.

  • currently you have a “duplicate” variable name, you dont want that
  • simply remove that new variable that you added and simply use its logic into that first variable that was initially given for this step

address that change and it should be fine, happy learning :slight_smile:

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