Basic JavaScript - Understanding Case Sensitivity in Variables

Tell us what’s happening:
Describe your issue in detail here.
It’s very hard and i dont really understand

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/105.0.0.0 Safari/537.36 Edg/105.0.1343.27

Challenge: Basic JavaScript - Understanding Case Sensitivity in Variables

Link to the challenge:

Welcome to the forum!

turn both the declarations and the assignments into the correct
camel case form.

A camel case:
first word starts with a lower case letter,
every other word in the name with a capital letter.
The standard for naming functions and variables in JavaScript.

thisIsAnExampleForCamelCase
anotherExample

Hello! I’m also having an issue passing this portion. I cannot see my error. Perhaps you can help?

// Variable declarations
var studlyCapVaR;
var properCamelCase;
var titleCaseOver;

// Variable assignments
studlyCapVaR = 10;
properCamelCase = “A String”;
titleCaseOver = 9000;

// running tests

studlyCapVar

should be defined and have a value of

10

.

studlyCapVar

should use camelCase in both declaration and assignment sections. // tests completed

You haven’t used camelCase to fix the variable names and references.
Try doing that and if you are still stuck, open a new topic for yourself instead of piggybacking on this one.

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