Basic JavaScript - Constructing Strings with Variables

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

Your code so far

// Only change code below this line
const myName = "My name is";
const myStr =  myName + " and I am well!";

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

Link to the challenge:

please reread the instructions

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!

1- myName should equal your name.
2- myStr should have 3 things in it
My name is and and I am well! and the variable myName in between them.

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