I am at my wit’s end with this problem. I looked at several hints, both on FCC and GH, and typed the answrs in exactly how they look on their respective pages. I typed in every possible solution I could think of and even added quotations to my name so it would be properly defined. Nothing is working! I honestly don’t know what else I can do. If any of you could help me with this, I would greatly appreciate it.
Your task:
Use two + operators to build myStr with myName inside it
Look at this example :
var ourStr = "Hello, our name is " + ourName + ", how are you?";
this example build ourStr with ourName inside it
The thing is, even if I don’t use quotations, I get an error message, telling me my name is “undefined”. That’s the main reason I’m stuck on this problem.
is your code still exactly same with that screenshot ?
if yes, change “Hunter” at line 8 to myName
if not, put your code here
Hey, it worked! Thanks!