Im confused It says in the problem to take contents of a and assign to b so what am i doing wrong here?

It says in the problem to take contents of a and assign to b so what am i doing wrong here?

Your code so far


// Setup
var a;
a = 7;
var b;
b = 7;
a = b;
// 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/96.0.4664.93 Safari/537.36

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

you need to assign b. The example in the lesson shows how it should be done so use that as a reference keeping in mind it is just different variable names ( myVar/myNum ) and values (5 instead of 7)

got it thanks brain is slow this morning.
Thanks

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.