Learnig the escaping technique with JavaScript

*Tell us what’s happening: I’ve watched the help video, I also watched the hint answer, yet the code challenge won’t allow me to test even though I did the same as the answer,. Please assist

Your code so far


var myStr = "I am a\"double qouted\" string inside\" double qoutes\"."

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

you need to put spaces in the right place
maybe try first writing the string with the spaces in the right places then add the backslashes

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