What is the issue?

Tell us what’s happening:
Describe your issue in detail here.
What have i missed?

Your code so far


var myFirstname = "your name";
var myLastname = "your name";

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13982.82.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.157 Safari/537.36

Challenge: Declare String Variables

Link to the challenge:

This is the problem.
Challange says : Create two new string variables: myFirstName and myLastName and assign them the values of your first and last name, respectively.

I don’t understand, I found it easy yesterday but today when I tried again not so much.

this “myFirstname” isn’t equal to “myFirstName” right?
Challange is to creat a variable with this “myFirstName” name.

“myFirstname” should be equal to "myFirstname, right? They are the same

Capitalization matters here.
myVar is not equal to myvar. You can’t call “myFirstName” if the variable you created is myFirstname.

So where is the issue and what is the correct answer? :slight_smile:

Omg ofc lol how did I miss that? Must’ve been my dyslexia thx!

You should always right variable in camel case to avoid these problems

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

1 Like

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