I didn't change the code above!

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

Why is writing this error when I didn’t change it?!

// running tests
You should not modify the code above the specified comment.
// tests completed

Your code so far

var a = 3;
var b = 17;
var c = 12;

// Only change code below this line
a += 12;
b += 9;
c += 7;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0

Challenge: Compound Assignment With Augmented Addition

Link to the challenge:

You are using var. The original code shows let.
You can either reset the lesson or change the var into let

1 Like

That is correct.
And to @goodbye-kytti happy coding buddie.
You will become a software engineer… actually you are already one.Believe in yourself,be persistent…

1 Like

I reset it and it showed var.

Try changing var to let

1 Like

I changed it to let, now it is working. Thanks a lot! :slight_smile:

1 Like

Your browser may have cached an older version of the challenge. It doesn’t seem to happen very often, but every once in a while browsers get weird.

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