How to Uninitialized Variables

How to Uninitialized Variables
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";

// 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 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36.

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


#2

Hmm try removing the beginning space in your string. So instead of “ I am a” have it “I am a”

Also try initializing with spacing like var a = 5;


#3

i fixed it and it did work pperfectly . Thanks!!!