Basic JavaScript - Escaping Literal Quotes in Strings

Tell us what’s happening:

I cant get past this lesson. I went onto the hints because my solution wasn’t working, and the correct solution is identical to mine. How do I continue onto the next lesson?

Your code so far

const myStr = "I am a \"doubled quoted\" string inside \"double quotes\"."; // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Escaping Literal Quotes in Strings

Hello!

const myStr = “I am a "doubled quoted" string inside "double quotes".”; // Change this line

If you look at the first part you may notice a very small typing error. Check the first word in the first quoted area.

I hope this helps you move on.

Keep up the good progress.

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