Trouble with Basic JavaScript: Escaping Literal Quotes in Strings

Tell us what’s happening:

I have many times try to figure this code out but every time it comes up as a Error: call to eval() blocked by CSP.

Your code so far

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


Please let me know what I am doing wrong thanks.

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.9) Gecko/20100101 Goanna/4.4 Firefox/68.9 PaleMoon/28.8.0</code>.

**Challenge:** Escaping Literal Quotes in Strings

**Link to the challenge:**

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


Normally, bugs should be reported as GitHub Issues, but @freeCodeCamp tweeted this morning:
We are still doing some maintenance on freeCodeCamp. If you notice anything weird happening, please reply to this tweet and we can investigate it. Thanks for your patience.

ETA: If you are seeing this problem in Firefox, please try Chrome for right now (as per the banner at the top of the forum.)