Please help. Its not working. I did everything right

Why is this not working? Please put full code. I am confused… This thing ain’t working why???


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

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

you need to have double quotes surrounding the string as this challenge is about using escaped double quotes in a string defined with double quotes

like the example

var sampleStr = "Alan said, \"Peter is learning JavaScript\".";

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.