What's Wrong in my code?

Tell us what’s happening:

Your code so far


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.128 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

you need to use \ to escape and " inside the string. Currently you are using a template literal, but the test expects for you to have the string made with double quotes not back-ticks. this \" is right.

1 Like

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