what s wrong with this

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


var myStr = "I am a\"double qouted\" 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/91.0.4472.77 Safari/537.36 Edg/91.0.864.41

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Hi @nitrampogi !

Welcome to the forum!

I would suggest adding these two lines of code so you can see the issue for yourself.

// this is your string
console.log(myStr) 
//this is the correct answer
console.log(`I am a "double quoted" string inside "double quotes".`)

Hope that helps!

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