Can you help me?

Tell us what’s happening:
Describe your issue in detail here.

I did exactly what I have watched on the video, but it doesn’t work
Your code so far

var myStr = "I am a \" double quoted \" string inside \" double quotes\""; // Change this line
console.log(myStr);

var myStr = "I am a \" double quoted \" string inside \" double quotes\""; // Change this line
console.log(myStr);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Compare the string you are supposed to create with the string actually created. You’ll notice a couple of wrong characters.

can you show me the difference please. I can’t see anything :frowning:

This is what you are outputting:

I am a " double quoted " string inside " double quotes"

This is what is required:

I am a "double quoted" string inside "double quotes".

Can you see the differences?

2 Likes

I deleted 3 characters from this and added 1. With that, your code passes for me.

:open_mouth: do you mean the differences are spaces?

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