Escaping Literal Quotes in Strings-No idea

Hi guys,I need an idea to this lesson,I have no idea at all,I will be happy if you can be of assistance,thanks
Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

What have you tried so far?

This is what I have tried so far:

var myStr = "I am a \"double quoted\" string inside \"double quotes\"";

But it’s still not working.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Are you missing punctuation at the end of your string?

1 Like

Think so,I will look at it again.

I just checked it and I don’t think I made a mistake there.

I’m pretty sure you are missing punctuation.

Kk I will check,thanks.