Basic JavaScript - Escaping Literal Quotes in Strings

As I tried the same code on my browser that’s working so fine but not on this site, or I’m mistaken. please tell me so that I can move to the next chapters.

Your code so far

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

Challenge: Basic JavaScript - Escaping Literal Quotes in Strings

Link to the challenge:

Add this line to your code at the end: console.log(myStr);
What output do you see? Does it look different from what you expected?

Try to delete the space between your starting quotes and re-structure the sentence.
Hope that works :sunglasses:

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