Xscape Literal Quotes in Strings

Tell us what’s happening:

I’ve looked at the hints and videos and the code isn’t reflecting this challenge. I think I have some of it right however I know I missing something detrimental to complete this challenge.

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/89.0.4389.114 Safari/537.36 Edg/89.0.774.68.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You’re missing your opening quote

You will also need more spaces in your string

And the escape character \ always goes in front of the quotation mark

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