var myStr = "I am a \"double quoted\" string inside \"double quotes\""; // change this line
``
please i need a help here on this code, i have tried to get it right but it's not working. i'm stock
Challenge on Escaping Literal Quotes in Strings
What are you trying to accomplish?
Can you format your code, post a link to your exercise and change post’s category to javascript?
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 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.
I could be wrong, but I think you might be missing some punctuation at the end of the string?
Also, in the future, please either include the challenge url or use the Ask a Question button on the challenge which will attach the formatted code and applicable challenge url automatically.
Thank you.