Tell us what’s happening:
I’m stuck half-day in this exercise. I’ve tried to solve it the same way that was taught and quotes in beggining and in the end stays in the code.
Your code so far
var myStr = "I am \"double quoted\" string inside \"double quotes\">"; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
.
Challenge: Escaping Literal Quotes in Strings
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings