Escaping Literal Quotes in Strings assist

I can’t seem to see what’s wrong with my code. someone help, please

var myStr = " I am a “double quoted"string inside” double quotes"." ;
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

1 Like

make sure you have all the spaces in the right place, you are just missing a space

1 Like