I dont now why thats wrong!

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

Your code so far


const myStr =    'I am a \"double qouted \" 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/94.0.4606.81 Safari/537.36 OPR/80.0.4170.61

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

HI @gustavobrn00 !

Welcome to the forum!

It looks like you have some spelling errors and extra spaces.

I would reset the lesson.

I would suggest adding a console.log to your code so you can check the correct output against yours.

const myStr = ""; // Change this line

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

You can check the console here.

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