Tell us what’s happening:
Describe your issue in detail here.
Your code so far
const myStr = "I am a \"double quoted \" string inside \"double quotes"";
console.log myStr
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62
Challenge: Basic JavaScript - Escaping Literal Quotes in Strings
Link to the challenge:
hi there, welcome back to the forum. What question did you have?
hi hbar1st,
just tried this out. The quotes that belongs to the string are printed ,too. So the challenge won`t let one pass, for the console.log(myStr) is not what it expects.
Although i reminded the dot it looks like:
myStr = "I am a "double quoted" string inside "double qoutes"."
Here is the whole incident:
// running tests
Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".
// tests completed
// console output
I am a "double quoted" string inside "double qoutes".
myStr = "I am a "double quoted" string inside "double qoutes"."
OK,OK,
i got it now. Had been a typo at my code. " quotes" is spelled q-u-o-t-e-s.

link to the method:console.log() - Web APIs | MDN