Tell us what’s happening:
Your code so far
var b = 2;
// Only change code below this line
var a = 7;
var b + 5 = 7;
Your browser information:
Your Browser User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38.
Link to the challenge:
Variable a has already been declared ( var a; ), so you can not declare it again. You just need to assign the number 7 to variable a. Then, since b has already been declared ( var b =2; ), you just need to assign a to b.
How do we assign values to previously declared variables? Like below:
previouslyDeclareVariable = someValue; // variables hold values and can be assign to other variables
I figured it out as soon as your assistance came through. I am brand new at this.
thank you for your timely response