Understanding Uninitialized Variables . I am totally new in javascript , and got stuck in this , can anyone help?

Understanding Uninitialized Variables . I am totally new in javascript , and got stuck in this , can anyone help?
0

#1

Tell us what’s happening:

Your code so far


// Initialize these three variables
var a = 5;
var b = 10;
var c = "i am a String!";

// Do not change code below 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/69.0.3497.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables


#2

The problem is here in the following line:

The challenge is asking you to add "I am a", but you added "i am a String!"

Also, be careful, JS and tests are case sensitive: "i am a" is not the same as "I am a".


#3

Thanks for the help…:slight_smile:


#4

You’re welcome.

Good Luck & Happy Coding.