Basic JavaScript - Constructing Strings with Variables

Tell us what’s happening:
Describe your issue in detail here.
I did the second one but the first one is very confusing.

Your code so far

// Only change code below this line
const myName = "Christopher";
const myStr = "My name is " + MyNameis + ", I am well!" + myName + "How are you.";

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 - Constructing Strings with Variables

Link to the challenge:

you don’t have a variable called MyNameis - you have a variable called myName that you need to add in.

The instructions are

Set myName to a string equal to your name and build myStr with myName between the strings My name is and and I am well!

That means in total it should be My name is Christopher and I am well!, you should not add the How are you part

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