Understanding Case Sensitivity in VariablesThe

Tell us what’s happeTehning:z
The assessment asked me- Write variable names in JavaScript in camelCase. In camelCase, multi-word variable names have the first word in lowercase and the first letter of each subsequent word is capitalized.

Your code so far
My code is :
var studlyCapVar;

var properCamelCase=“A String”;

var titleCaseOver;

studlyCapVar=10;

titleCaseOver=9000;

properCamelCase= “A String camelCase”;







Your browser information:
and it give wrong and said that: properCamelCase is defined and has a value of “A String”
i didnt get what wrong is my code, what shoul i do about refixing?
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

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

what do the tests say?

  It said:  properCamelCase is defined and has a value of "A String"

The challenge is all about changing the variable declarations and assignments to camel case. Do not assign new values to these variables.

Accordingly, this should be fixed:

As should this:

1 Like