Learn basic JavaScript : Escaping Literal Quotes in Strings

Tell us what’s happening:
Can anyone please help me with this? I am not sure what I am missing

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/91.0.4472.77 Safari/537.36 Edg/91.0.864.37

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You should have 6 " in the string. 4 of them needs to be escaped.

1 Like

Will try to do that, thanks

Thanks a lot, ans sorry for the late reply. :+1:

No worries, glad I could help.

1 Like

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