Escaping literal quotes in string assignment

Tell us what’s happening:
Describe your issue in detail here.
What is wrong with my string? I checked several times and it is exactly like what the assignment is asking.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

I ran the challenge and jwilikins.oboe is pointing in the right direction; I retract my ‘it looks right to me’ statement

HI @ticalolajoye !

Welcome to the forum!

It is easy to miss but you do have a small error.
It has to deal with spacing.

Look very carefully at your output versus the correct output.
You have an extra space.

Once you fix that then it will pass

1 Like

I figured it out! Thank you!

It looks like I had an extra space. I figured out where. Thank you for checking for me!

1 Like

No problem at all, all credit to jwilkins.oboe. I end up learning a lot by attempting to help others :wink:

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