Escaping Literal Quotes in StringsPassed

Tell us what’s happening:

Hello Guys,
could you please help me on this one, I dunno what is wrong here

Your code so far
var myStr = “I am a “double quoted"string inside"double quotes”.”; // Change this line

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

Your browser information:

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

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

There are some spaces missing in your string

Hello ieahleen,
Thanks for your time. could you precisily please tell me, because i have tried and not winning.

try to add console.log(myStr) so you will see it printed in the console, and you dan see that there are some spaces missing near the quotes

1 Like