Var myStr = "I am a \"double quoted\" string inside\" double qoutes\".";

Tell us what’s happening:

I have done all and i am still not getting it right. Any help to continue with my free coding class Your code so far*


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

Your browser information:

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

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

remember that the quotes are around “double quotes” - the space is in the wrong place

1 Like

I have tried to close it up but it still not working.

what’s your code now?

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

typo here
is that how it is written?

I have corrected it but still not working and keep getting this Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".

1 Like

and what’s your code now?

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

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

1 Like

I am through now. Thanks :heart: