Help needed javascript Escaping Literal Quotes in Strings

Help needed javascript Escaping Literal Quotes in Strings
0

#1

Tell us what’s happening:
It’s about two days, I can’t pass this challenge please help is needed

Use backslashes to assign a string to the myStr variable so that if you were to print it to the console, you would see:

I am a “double quoted” string inside “double quotes”.

Your code so far


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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:61.0) Gecko/20100101 Firefox/61.0.

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


#2

You added an extra space after one of the double quotes. ( just before the word ‘double’.)


#3

Thanks for the help! I have passed the challenge