Understanding Case Sensitivity in Variables Help

Understanding Case Sensitivity in Variables Help
0.0 0

#1

Tell us what’s happening:
I just cannot get pass this stage despite completing the task. Its frustrating. Someone pls healp

Your code so far

// Declarations
var studlyCapVar;
var properCamelCase; 
var titleCaseOver;

// Assignments
var studlyCapVar = 10;
var properCamelCase = "A string";
var titleCaseOver = 9000;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

Link to the challenge:


#2

Declarations (using var) are only done once.


#3

You need to remove the var from your assignments. var are only assigned in declarations. here’s the answer.

// Declarations
var studlyCapVar = 10 + camelCase;
var properCamelCase;
var titleCaseOver;
var camelCase;

// Assignments
studlyCapVaR = 10;
properCamelCase = “A String”;
titleCaseOver = 9000;
camelCase = studlyCapVar = 10;