I don't understand what's wrong

Tell us what’s happening:

Your code so far


// Only change code below this line
var a = 5;
var b = 10;
var c = "i am a "
// Only change code above this line

a = a + 1;
b = b + 5;
c = c + " String!";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57.

Challenge: Understanding Uninitialized Variables

Link to the challenge:

You are supposed to end up with “I am a String!”

You have this: var c = "i am a "

Do you see the issues? You have a capitalization problem but you also have an issue with too many spaces. When I make those two small changes, the code passes for me.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.