Https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings

Tell us what’s happening:
I can’t solve this please help me!
I should do this:
Use backslashes to assign a string to the myStr variable so that if you were to print it to the console, you would see:

I am a "double quoted" string inside "double quotes".

Your code so far


var myStr = ""; // 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/83.0.4103.97 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Hello @bardhialban0,
take the example in the challenge and use the backslash when you have a double quote inside the quote.

var sampleStr = "Alan said, \"Peter is learning JavaScript\".";

hi , did you get it right?