Basic JavaScript - Decrement a Number with JavaScript

Tell us what’s happening:
Describe your issue in detail here.
I Think I Have got the Question what is it asking me to do but now the problem is that the code is not being accepted?

Your code so far


var myVar = 11;

// Only change code below this line
myVar --;

var myVar = 11;

// Only change code below this line
myVar --;

Your browser information:

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

Challenge: Basic JavaScript - Decrement a Number with JavaScript

Link to the challenge:

  • this runs fine on my browser!!

perhaps try disabling any “dark mode” kind of browser extension or any other browser, happy learning :slight_smile:

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