Declaring string variable

var MyFirstName = “Rahul”;
var MyLastName = “Nagane”;

But it is not accepting it.

Please post a link to the challenge.

1 Like

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

You must exactly use the required variable names, to include capitalization.

I did just exactly but not acceptable :thinking:

var myFirstname = “Hudson”;

var myLastName = “Corwyn”;

// Only change code below this line

var myFirstname = “Belly”;

var myLastName = “matt”;

 Any valid hint ?

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