Tell us what’s happening:
The challenge is asking me to Create two new string variables: myFirstName
and myLastName
and assign them the values of your first and last name, respectively.
I followed the example given but it still did not work. Could someone help me find where I am going wrong
Your code so far
var myFirstName;
var myFirstName = "myLastName";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Declare String Variables
Link to the challenge: