How to escape a literal quote

please what is wrong with this code? it won’t let me move to the next challenge

See that button that says, “Ask for help on the forum”? If you click that it will make a post that is formatted correctly so we can help you.

Hi @liza, A space should exist between inside and \"double.
Note: Next time please use Ask for help on the forum as @JaceyBennett has mentioned.

I can’t move to the next challenge
my code:

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

Might be the type of quotes.
If you are not sure copy and paste these -> "

Hi @liza, as I mentioned to your previous question a space should exist between inside and \"double

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

Thank you! It worked

1 Like