I don't understand what I am doing wrong? (Never Mind!)

Tell us what’s happening:

Your code so far

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

// Only change code below this line
var a;
a = 7;
var b;
b = 7;
a = b;

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13505.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

What are you trying to accomplish? What problems are you having?

One thing that jumps out is that you are redeclaring your variables. The keyword var should only be used once, to create a new variable.

in which line are you trying to accomplish that?

what are you using to assign a to b?

instead of a screenshot just write your code

Never Mind… :roll_eyes: