Almost there I think but something isnt working

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


const myStr = "I am a \"double quoted\" string inside \"double quotes\".;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

How many quotes you must have? And what kind of characters could be outside of a quote?

2 double quotes and 4 escaped double quotes

yes. How many quotes do you have right now?

1 Like

Thank you for your help and sorry for the late reply,it worked but I was missing a space too which stopped the line from running…appreciate your help :slight_smile:

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