Qouting within a qoute in JS

Tell us what’s happening:

I am writing the code exactly how Im supposed to but Im continuing to get an error message.

Your code so far


var myStr = "I am a \"double qouted\" string inside \"double qoutes\"."; // Change this line

even the answers in get help say I should write it this way and its still saying wrong, I’m so confused rn

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings

@ddesir85 You have a similar typo twice.

Hint:

\"double qouted\"

AND

\"double qoutes\"
1 Like

what is the typo??? the lesson say to type exactly that

I see the typo, thank you!!

1 Like

Let us compare with my result, then you tell us what you see.

Yay! you’re doing great :smiley: