Tell us what’s happening:
Describe your issue in detail here.
I am at the very beginning of my coding journey and I am struggling to get past one of the first lessons, can someone assist me in telling me what I am doing wrong, as you can see that is my input code on the right hand side
Your code so far
a = 7;
// Only change code below this line
a = 7;
b = 7
var a = var b;
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/188.8.131.52 Safari/537.36
Welcome to the community @kjb1992 !
Is the instruction to assign the variable b to variable a, or the other way around?
Currently variable b is assigned to variable a.
I hope this helps you.
You shouldnt be using var any where under the “change code below this line” var is already used up top to define the variables. You should only be using a and b not var
Here is the example from the lesson.
myVar = 5;
myNum = myVar;
Notice how myVar is assigned to myNum in the example.
Hopefully this will help you move on.