Cant seem to get this .. any help

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

Your code so far


var myStr = "I am a \"doubled quoted\"string inside \"double quotes\"."; // Change this line
console.log(myStr)

Your browser information:

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

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You need to change doubled to double and add a space after the second \" right before string like so:

"I am a \"double quoted\" string inside \"double quotes\"."; // Change this line
2 Likes

thanks mate, it finally worked!

1 Like

You’re welcome. Please mark the answer as the correct one.

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