Can't pass the section

Tell us what’s happening:
Describe your issue in detail here.
Can’t pass the section even though the answer is correct

Your code so far

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

// Only modify code below this line

a += 12;
b += 9;
c += 7;

Your browser information:

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

Challenge: Compound Assignment With Augmented Addition

Link to the challenge:

The original code used let to declare the variables but you changed it to var. Why? Not only do the directions tell you not to change that code, but you should not use var in modern JS.

When I fix that, the code passes for me.

1 Like

Thank you for noticing my mistake. Well taken down and won’t happen again!

1 Like

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