Trying to Learn

var myStr = “I am a “double quoted” string inside"double quotes”.";
I’m doing the JavaScript lessons and I am not getting past this one I cant find anything wrong.
Please Help!
Thank you.

Please paste here your code and what you got so far, so that we could help you.

1 Like

hello here it is,

var myStr = "I am a \"double quoted\" string inside\"double quotes\".";  // Change this line

console: myStr = “I am a “double quoted” string inside"double quotes”."

Exactly, see how you are missing an important space before one of the double quotes?

1 Like

can you show me which one, i can not see it.
this is the error message i got:
Variable myStr should contain the string: I am a “double quoted” string inside “double quotes”.

Below your line of code, add this line:


It will print the contents of myStr to the console below the editor. Then maybe you’ll be able to see the mistake.

Thank you so much, I finally found the space issue.