Basic JavaScript - Declare String Variables

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

Your code so far

var myFirstName = 'firstname';
var myLastNmae = "last name";

Your browser information:

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

Challenge: Basic JavaScript - Declare String Variables

Link to the challenge:

Hi there and welcome to our community!

You have a typo in your variable name, which is why your code isn’t passing.
Also, it’s good practice to be consistent with your quotation marks, so I’d generally always use double quotes when declaring strings. Either is fine, but consistency is key.

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