I can’t do this still! It always says assigns to b with=
I DID IT WITH VAR A = B AND A = B
BUT IT DOES NOT WORK!!!
// 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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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:
Sorry! I’m really clueless now a days
Are we meant to do it
var a;
b = 7;
var b;
Hi!
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
ssq123
September 9, 2020, 1:11pm
12
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”