Right code but still does show undefined

Hi,
I have used the right code in a camelCase challenge but it still shows undefined and I can not move forward to the next challenge.

var studlyCapVaR;
var properCamelCase;
var titleCaseOver;


studlyCapVar = 10;
properCamelCase = "A String";
titleCaseOver = 9000;

Your browser information:

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

Challenge: Understanding Case Sensitivity in Variables

Link to the challenge:

Welcome there,

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

@Anita89 ,

In var studlyCapVaR; you have R and while setting value for studlyCapVar = 10;, you have small r.

Hi, thank you for your help, but unfortunately it still does not work and shows undefined after changing it.

what is your code now?

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