Understanding Case Sensitivity in Variables - a bug?

Tell us what’s happening:

hey! I think I did everything right, but freeCodeCamp shows that I didn’t meet any requests & shows: “studlyCapVar is not defined” repeatedly.

Your code so far


// Declarations
var studlyCapVaR;
var properCamelCase;
var titleCaseOver;

// Assignments
studlyCapVar = 10;
properCamelCase = "A String";
titleCaseOver = 9000;

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-case-sensitivity-in-variables/

@Aptk,

your problem is that you defined var studlyCapVaR; at the beginning and tried to use studlyCapVar later. Those are two different things. If you want to reference something you defined, it has to be the same name.

2 Likes

Your two studlycasecapvar variables don’t match.

1 Like

I read 100 times and almost got crazy. thanks! uppercase R!!