Javascript escaping literal

Tell us what’s happening:
whats wrong. Not able to pass this section. can’t find any error. sorry. please help.

Your code so far


var myStr ="I am a \"double quoted \"string inside\" double quotes\". "; // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.181 Mobile DuckDuckGo/5 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

I see 1 issue…

Look closely at your code.

Hint:

Pay close attention to where the spaces are, it matters.

try putting:

console.log(myStr);

below your code and see the output. It will help you see what is going on.

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