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
I have tried to close it up but it still not working.
var myStr = “I am a “double quoted” string inside “double qoutes”.”;
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".
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.
var myStr = "I am a \"double qouted\" string inside \"double quotes\".";