Understanding Case Sensitivity Lesson

Tell us what’s happening:

I am getting the error Cannot read property ‘length’ of null when I run the tests but this code looks absolutely fine to me…

It looks like it is failing on properCamelCase but I have no clue why…
// running tests

studlyCapVar is defined and has a value of 10
Cannot read property 'length' of null

Your code so far

// Declarations
var studlyCapvar;
var properCamelCase;
var titleCaseOver;

// Assignments
studlyCapvar = 10;
properCamelCase = "A String";
titleCaseOver = 9000;

Your browser information:

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

Link to the challenge:

The v isn’t uppercase in your code.

Haha I see but how am I meant to know that ‘capvar’ isn’t one word but two!?

Summoning my powers of thread necromancy…

I’m thinking that challenges based on English morphology might not be immediately obvious to our international learners…

1 Like