ychris
October 21, 2020, 5:15pm
1
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 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36
.
Challenge: Understanding Case Sensitivity in Variables
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Make sure that you are using proper camelCase when assigning the variables.
// Variable assignments
StudlyCapVar = 10;
ProperCamelCase = "A String";
titleCaseOver= 9000;
1 Like
ychris
October 21, 2020, 5:22pm
3
Looking at my code is there any place I wrongly use it may I didn’t just see it
The code that I quoted has a few camelCase changes that need to be made.
1 Like
Here is a good illustration of why it is called camel case if you were curious.
4 Likes
That illustration is great lol.
1 Like
The problem with this challenge is just rewrite var names in both during declaration and assignment yourself. I couldn’t see my mistake because of they mixed or made wrong in purpose. So finding which letter is in uppercase or lowercase is hard for human mind especially when there’s no space in between the words.
1 Like