Escaping Quotes in Strings

Escaping Quotes in Strings
0

#1

Tell us what’s happening:
l can’t see what’s wrong with my code, l followed every step properly. Somebody help me!.

  1. List item
var 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/69.0.3497.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings


#2

That’s correct. Sometimes challenges struggle on one browser or another. I would try running it in Chrome and it should pass.

I just had a similar problem yesterday and had to pass off a D3 challenge in firefox, then went back to Chrome for the next one and everything worked fine. Hope that helps