I didn't get the code correctly

Tell us what’s happening:

Your code so far


// Only change code below this line
var myName = "rohith";
var myStr = "My name is " + 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/89.0.4389.90 Safari/537.36.

Challenge: Constructing Strings with Variables

Link to the challenge:

myname and myName are not the same variable. You never defined myname so you can’t use it in building myStr

Hi! @rohithkumar2424

Note: In JavaScript remember that capitalization matters,
means:

myName is not equal to myname

Hope this helps :sparkles:

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