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.
ILM
6
in which line are you trying to accomplish that?
ILM
8
what are you using to assign a to b?
instead of a screenshot just write your code