Escaping Literal Quotes in Strings 13/08/2018

Tell us what’s happening:

Dear All
Would you please let me know what is my error in my following code?
Regards,

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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings

There are no spaces around the first quoted texts.

Thanks a lot but unfortunately does not work with your comment also!

Add space before this as well i.e second quotes.

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

Thank you .I added spaces before first and second quoted texts but does not work again.

Whenever you want to enter your code use three backticks(```) to do so, or use the code tag of html.

var myStr = "I am a \"double quoted\" string inside \"double quotes\".";

This doesn’t work??

Thank you. I checked all spaces again and finally worked.