What does this meam --> studlyCapVar should use camelCase in both declaration and assignment sections

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

// Variable declarations 
var studlyCapVar = 10;
var properCamelCase;
var titleCaseOver;

// Variable assignments 
var studylyCapVar = 10;
var properCamelCase = "A String";
var titleCaseOver = 9000;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Understanding Case Sensitivity in Variables

Link to the challenge:

You’re doing it fine but there’s a typo on one of the studly’s!

camel case is way to write your variable name
for example :

var firstname = 'rio'; //here firstname has all letter in small later

var firstName = 'rio' // here firstName has N capital letter

so giving your variable name every first letter capital except first letter is camel case

examples :
var lastName = 'sanap';

var fullNameOfMine = 'rio sanap';
// look here i have given N capital of Name , O capital of OF , M capital of Mine except f which is not capital giveing your variable name like this called camel case

don’t worry this is not big issue you can give what ever you like but giving came names
make easy to read thats it

for example
var myfirstnameis = 'rio'; // this is little hard to read right !

var myFirstNameIs = 'rio' ; // this is simple to read so that it camel case

giving variable name in camel case makes easy to read them.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.