Help me I can't figure out what's wrong, "You should use two double quotes (") and four escaped double quotes (\ ")."

Tell us what’s happening:

Your code so far


var myStr = 'I am a "double quoted" string inside "double quotes".'; // 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/84.0.4147.105 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Hello and welcome to the FCC community~!

Currently you are using single quotes (') for your string - try changing those to double quotes (") and see what happens. That should get you pointed in the right direction. :slight_smile:

Your solution is right but does not correspond the asked question. They ask you:

You should use two double quotes (“) and four escaped double quotes (\ “).”

to solve the challenge as mentioned in the example!