Not understanding case sensitivity

Not understanding case sensitivity
0.0 0

#1

"checked"studlyCapVar is defined and has a value of 10
"checked"properCamelCase is defined and has a value of “A String”
"checked"titleCaseOver is defined and has a value of 9000
"checked"studlyCapVar should use camelCase in both declaration and assignment sections.
"checked"properCamelCase should use camelCase in both declaration and assignment sections.
“Xed” titleCaseOver should use camelCase in both declaration and assignment sections.

// Declarations
var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;
​
// Assignments
studlyCapVar = 10;
properCamelCase = "A String";
titleCaseOver = 9000;
​
var studlyCapVar = 10;
var titleCaseOver = "camelCase";
var titleCaseOver = 9000;

WHAT AM I DOING WRONG? PLEASE HELP!!!


Understanding Case Sensitivity in Variables cant understand AT All
#2

I moved your question to a new topic, because your code is different than the other thread.


#3

The declarations section should also be in camelCase, so you should not have to re-declare the variables as you did in the following code:

var studlyCapVar = 10;
var titleCaseOver = "camelCase";
var titleCaseOver = 9000;

Delete the above code and change the original declarations so that they are camelCase.


#4

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#5

thank you, this helped