Do not change code above the line what's that mean

Tell us what’s happening:

Your code so far


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

// Only change code below this line

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator

When you see a comment that states:

// Only change code below this line

That means you should only write or change code below that comment. In your code above, you have changed the code above that line. You need to reset the challenge and only change/write code below that comment.

1 Like

hi! I try to my code
a=7
b=7
a=b

but say. a should be assigned to b with =.
I don’t understand what I made wrong…
thanks for help

you are assiging b to a
you are not assigning a to b

nothing change if I switch b = a.
sorry if I am stubborn heheh

read again the instructions, if you do more than that you don’t pass

1 Like

You have forgot to put semicolon at the end
b=a;

1 Like

Hey i just posted the answer of above question. i thought no one solve this question and i was facing the same issue so after 20 mint i solved the question and posted here

Thank You.

@sagheerabbas126
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

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 full working solutions.

Thank you for understanding.