Tell us what’s happening:
Why is it not working, I did exactly what I need to do?
Your code so far
// Only change code below this line
var a = 6;
var b = 15;
var c = "I am a string!";
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
Your browser information:
User Agent is:
Mozilla/5.0 (Linux; Android 9; SM-A405FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36.
Challenge: Understanding Uninitialized Variables
Link to the challenge:
Welcome to the forum!
Initialize the three variables
b , and
10 , and
"I am a"
Instead of assigning 5 to var a your wrote 6.
Instead of assigning 10 to var b you wrote 15.
Instead of assigning “I am a” to var c your wrote " I am a string"
You were taking the total values here
and adding them to var a,b, and c.
Only assign the values from the FCC instructions.
Yup, I just realized, I changed it a few moments before you’ve replied.