Here is the best answer: var myStr = "I am a \"double quoted\" string inside \"double quotes\".";

Tell us what’s happening:

Your code so far


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/88.0.4324.190 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You need to put \ before " to register it as a mere string. Your code didn’t put \ before the "

You should escape all 4 quotes, you have done 2, you should escape the other 2.