Tell us what’s happening:
Describe your issue in detail here.
what the wrong with that code ?
Your code so far
// Change this line
var myStr = "I am a \"double quoted\" string inside \" double quotes\"." ;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Challenge: Escaping Literal Quotes in Strings
Link to the challenge:
The message in the console says:
myStr = “I am a “double quoted” string inside " double quotes”."
So, it is saying that you are creating this string:
I am a "double quoted" string inside " double quotes".
You are supposed to create this:
I am a "double quoted" string inside "double quotes".
Do you see the differences?
1 Like
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.