Should it be like this?

Tell us what’s happening:
Describe your issue in detail here . this code is not acepting my answer.

Your code so far


// Setup
var a;
a = 7;
var b;

// Only change code below this line

b = 7;
a = b;




**Your browser information:**

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

**Challenge:**  Assigning the Value of One Variable to Another

**Link to the challenge:**
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/assigning-the-value-of-one-variable-to-another

Reread the wording. I know it is confusing but you’ve got the last line mixed up. When I fix that, it passes for me.

remove both and just add b = a

Handing people working code doesn’t have them understand how to build correct code or debug their code.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting working solutions.

1 Like

Thanks for all , i found the solution