# Please Help me with my code

**URL:** <https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [August 5, 2020, 1:27pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663 "2020-08-05T13:27:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apex2673](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Apex2673](https://forum.freecodecamp.org/u/Apex2673)\
**Post date:** [August 5, 2020, 1:27pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663/1 "2020-08-05T13:27:46Z")

</div>

**Tell us what’s happening:**

You should use the `+=` operator for each variable.

I am not passing the aforementioned part of the code

**Your code so far**

```js

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

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

```

**Your browser information:**

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

**Challenge:** Compound Assignment With Augmented Addition

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-addition)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [August 5, 2020, 1:29pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663/2 "2020-08-05T13:29:46Z")

</div>

Hi and welcome to the forum.

You can only declare the each variable with var once. You need to remove the extra 'var’s.

---

<div class="post-metadata">

**Author:** ![Apex2673](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Apex2673](https://forum.freecodecamp.org/u/Apex2673)\
**Post date:** [August 5, 2020, 1:31pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663/3 "2020-08-05T13:31:21Z")

</div>

Thank you very much JeremyLT. I greatly appreciate the assistance

---

<div class="post-metadata">

**Author:** ![Apex2673](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Apex2673](https://forum.freecodecamp.org/u/Apex2673)\
**Post date:** [August 5, 2020, 1:36pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663/4 "2020-08-05T13:36:55Z")

</div>

It worked!!! Again, thank you. I am very grateful!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 12:39pm UTC](https://forum.freecodecamp.org/t/please-help-me-with-my-code/413663/5 "2021-06-01T12:39:13Z")

</div>

Closed on June 1, 2021, 12:39pm UTC


