Freecodecamp: "studlyCapVar" not being accepted

Created on 23 Nov 2016  路  4Comments  路  Source: freeCodeCamp/freeCodeCamp

Challenge Understanding Case Sensitivity in Variables has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

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

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



Most helpful comment

stydlyCapVar var should be studlyCapVar

but it should be

All 4 comments

@dano707 Your code is incomplete, because you haven't used camelCase in the declaration for studlyCapVar -

studlyCapVar should use camelCase in both declaration and assignment sections

Please visit the Help Room first for help with issues like these, in future. Happy Coding!

@dano707 as @Manish-Giri has pointed out, your code is still incorrect. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!

stydlyCapVar var should be studlyCapVar

but it should be

// Declarations
var studlyCapVar
var properCamelCase;
var titleCaseOver;

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

Was this page helpful?
0 / 5 - 0 ratings