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

Tell us what’s happening:
Hi guys. I really don’t understan what am doing wrong here! :frowning: Am stuck.


Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

I tried it again with this and it still doesn’t work:

Okay guys I figured it out. I had to remove the first line completely! So dumb haha :smiley:

1 Like

@jmmariano

You can remove / you can write in the 1st line itself

Thanks