Hey people! can anyone help?

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

var myStr = “I am a “double quoted” string inside “double quotes””;

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

You are forgetting something at the end of the sentence (what do sentences usually end with?)

it ends with double quotes and this ;

It’s a very subtle thing, i couldn’t tell if the punctuation was part of the test, or part of the result. Add a missing punctuation mark to the end of your sentence.

am new to computer science can you give me an example

This isn’t really anything specific to programming, it’s just that the instructions want a period at the end of that sentence, so you need to add a period.

And I agree with @snowmonkey, the period is very hard to see in the example (it appears to be colored light green).

1 Like

You’re missing a . after the last \" and before the last ".

The test is looking for a sentence, ending with a period.

ok it worked thank you so much sir

sorry english is my 5th langague

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