Basic JavaScript - Declare String Variables

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

The test on the assignment keeps telling me that I need to add characters to the string of my variable but I thought that my name would be the characters added, I just don’t get which step I’m missing after trying this in multiple ways . Thanks !

Another example I tried:
var MyFirstName;
var MyFirstName=“Faith”;
var MyLastName;
var MyLastName= “Battle”;

Your code so far

var MyFirstName= "Faith";
var MyLastName= "Battle";

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15

Challenge: Basic JavaScript - Declare String Variables

Link to the challenge:

Something in your declared variables is not written correctly

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