Code is suppose to work but its not working!Do check this

Tell us what’s happening:

Your code so far


var myStr = "I am a \"double quoted \" string inside \"double quotes\"."; 
console.log(myStr);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 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

You’ve added a space there which makes it not equal to the desired output nothing else.

Annotation 2020-01-30 135700

1 Like

Those tiny mistakes can ruin a program !!
btw,thanks for helping me out.