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

Tell us what’s happening:
My code is not working

Your code so farvar myStr = "I am a “double quoted” string inside “double quotes”. Change this line


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You have no closing quotation mark.

still it doesn’t work

And where did you close the quotes?

Have you read the description of what the string is supposed to be?

var myStr =“I am a “double quoted” string inside “double quotes”.”; Change this line

it is not working

Of course You can’t finish this lesson because You haveen’t deleted comment at the end or mistakely deleted “//” which creates inline comment in js, try and check if it will help.

2 Likes