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.
Your solution is right but does not correspond the asked question. They ask you:
to solve the challenge as mentioned in the example!