Whats wrong in this

Tell us what’s happening:

*Your code so far ```
var 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/83.0.4103.61 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

1 Like

Hey @manvitha,

Try to do console.log(myStr); at the bottom of your code and see what the console outputs. There is some places that you need to put whitespaces. It’s supposed to display this EXACT text, with the spaces:
I am a "double quoted" string inside "double quotes".

1 Like