Understanding Case Sensitivity in Variables lost

Tell us what’s happening:

this is so confused. It is telling me to use camelCase but there are three words in the phrase titlecaseover. There is no way to know from the reading is the O is capitalized or the C or both. There is the same problem with studlycapvar. I understand the lesson but the assignment to do it makes no sense to me.

Your code so far

// Declarations
var studlyCapvar; var studlyCapvar = 10; 
var propercamelCase; var propercamelCase = "A String";
var titlecaseOver;  var titlecaseOver = 9000;

// 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/71.0.3578.98 Safari/537.36.

Link to the challenge:

I have to agree. Camelcase is basically instead of using a space between words you make the first letter of the next word in capital. So titlecasover would in my eyes be titleCaseOver.

Why have you declared twice your variables? You don’t need to do that… the assignment are below, so you just have to make sure that he variables when they are declared and when they are assigned are written in the same way

This was a great explanation. Now I understand why and how to do it.

I made the problem more difficult than it should have been. I got it done now.

1 Like