Basic JavaScript - Escaping Literal Quotes in Strings

I got this guys, but still not working properly, what’s wrong with it?
const myStr = “I am a "double quoted" string inside "double quotes".”;

Please provide a link to the challenge a long with any other code you have. You can use the formatting button that looks like </> and paste your code between the lines it gives you

var myStr = "I am a \"double quoted\" string inside \"double quotes\".";

When I copy and paste your code it passes the challenge. There are a few steps you can try.

  1. Try restarting and refreshing the challenge to see if it will pass
  2. make sure you dont have any extensions running. Things like ad blocker, and dark mode can cause the challenge to fail.
  3. If none of the above work, then try submitting in the challenge in a different browser

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.