Why is this so hard!

I can’t do this still! It always says assigns to b with=
BUT IT DOES NOT WORK!!!:anger::astonished::unamused::weary::disappointed_relieved::worried::frowning:

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

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 4.4.2; SM-T310) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Safari/537.36.

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

Thank you to the people who is responding to my post I’m truly grateful !

Each variable should only be declared once. A declaration is when you use the keyword var.

1 Like

What do you mean? Sorry I’m really clueless​:worried::cold_sweat::fearful:

You declared b twice.

1 Like

Sorry! I’m really clueless now a days

Are we meant to do it
var a;
b = 7;
var b;


If you assign a value (for example 2) to a variable x you have to do as follows:

x = 2

x is left
value is right

in your case: b should be left and the value of a right!

b = …

1 Like

Oh my god you are correct ! Thank you so very much

1 Like

Yes I can try as possible to do it then and watch the action apart from that my I will need expert to assist me do it

simple is that left character name is value and right site value of its name
for example (A=12) (name =value) that is synatax of this and that is called “VARIABLS”