Basic JavaScript - Declare String Variables

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

var myFirstname;
myFirstname = "rezo";
var myLastname = "shar";

Your browser information:

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

Challenge Information:

Basic JavaScript - Declare String Variables

the result box is telling me that the variable should be a string with at least one character in it.
as you can see what i wrote , how and why its not accepted!?

myFirstName and myLastName is not the same as myFirstname and myLastname.

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