CamelCase Problem

Tell us what’s happening:

   **Your code so far**

// Variable declarations
var StudlyCapVar;
var properCamelCase;
var TitleCaseOver;

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

Challenge: Understanding Case Sensitivity in Variables

Link to the challenge:

You’re supposed to change all the variable names to camel case. This:

StudlyCapVar

is not camel case. In camel case, each word starts with a capital letter except for the first word. What you have hear is sometimes called “upper camel case” or “Pascal case”. In order to make it camel case, you would have to change the first letter to a lower case.

Check all your variable names and make them camel case. Don’t forget that there are 2 instances of each variable.

Let us know if this isn’t good enough of a hint.

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