Tell us what’s happening:
Describe your issue in detail here.
Your code so far
// Setup
var a;
a = 7;
var b;
// Only change code below this line
b = 7;
a = b;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.70
Challenge: Assigning the Value of One Variable to Another
Link to the challenge:
The fcc(freecodecamp) want is below,
fcc want asign ur variable a to variable b so need , b = a;
follow the step from top to bottom in ur code
first example,
first assign a = 7;
then assign b = 5;
but below u assign b = a (#so now is b= 7 ,but not 5 = 7)
so now b =7
second example,
first assign a = 7;
then assign b = 7;
but below u assign b = a (# so now b=7 , but not 7=7)
so now b =7
the wrong way that u did,
a=7
b=7
a=b(#so now a = 7 , not 7=7)
Hope this helped you
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.