Question problem i think so

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

Your code so far

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

code is correct but not run in the compiler what is the problem

Your browser information:

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

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Hi @saveen !

Welcome to the forum!

It looks like you are missing the punctuation at the end.

Pay close attention to the ending of this sentence to see what you are missing.

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

everthing is correct

it doesn’t seem so to me
Here you can see first your string, then the expected one:

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

there is a difference

This sentence is also missing punctuation. How do you end a sentence?

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