Basic JavaScript - Declare String Variables I do not understand

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var myFIRSTNAME
var myFIRSTNAME = "Azeezat";
var myLastNAME
var myLastNAME = "Adeyemi";












Your browser information:

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

Challenge: Basic JavaScript - Declare String Variables

Link to the challenge:

Hello and welcome to the community :smiley:!
I’m not quite sure why you declared your variables before assigning them.
You should declare your variables by using snake cases with the first letter of each new word besides for your first one capitalized, instead of capitalizing each letter after your first word.

should be:

var myFirstName

Hope this helps.

1 Like

Hello and welcome to FCC Forum, a community of people helping each other!
@anon86258595 has provided good guidance. It is important to use the same style due to case sensitivity for programming.
You will learn about camelCase style in a future lesson, which is what the myFirstName and myLastName appear to be to me.

I think resetting the lesson, and following @anon86258595 guidance, should allow you to pass to the next step in your coding journey.

Happy coding! :slight_smile:

1 Like

Thanks I am a child actually

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