Basic JavaScript - Understanding Case Sensitivity in Variables

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

// Variable declarations
var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Understanding Case Sensitivity in Variables

Hello @Raiden !

Please tell us what the problem is in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Happy coding!

1 Like

I need to rewrite this into camel code, but there is some kind of error there, although according to my observations everything is correct there

Thank you for posting the code and the problem @Raiden!

The lower part is all correct from what I can see.

However, the upper code has not been changed

// Variable declarations
var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;

I believe this is the issue.

I am sure many of us did the same thing with this lesson.

Try making them all into camelCase and see what happens. :slightly_smiling_face:

1 Like

Problem is not on declarations, Problem is in assignments

I did what I suggested you do, and it worked for me.
Those are the initial declarations for the variables.

var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;

When changed to the correct camelCase, they, along with the successful changes you made to the lower ones, it should pass without problem.

It may be good to reset and do the lesson with fresh code @Raiden

1 Like