Undefined initialize

Tell us what’s happening:

Your code so far



// Initialize these three variables
var a = 5;
var b = 10;
var c = "l am a";

// Do not change code below this line

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


l am stuck with this challenge l have tried all the possible solutions but its keeps giving me the error message "c should not contain undefined and should have a value of “l am a string!”
l have run out solutions and need to move to the next challenge
Your browser information:

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

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

This is different from the "I am a" they ask from you. you need to be the most precise with this things

1 Like


l still got the same error even after l removed the semicolon

What is that first letter in

Is that a capital i? Or a lowercase L?

lt was a lowercase “L”…thank you so much @snowmonkey its now working.Will keep in mind case sensitiveness next time .Highly appreciate your help.