Enabling a double quote using a double quote to write the sentence

when i put the dot at the end of the sentence it doesn’t work. Can someone tell me what’s going ? I am having a hard time solve this. Thank you.

var myStr = “I am a"double quoted” string inside “double quotes”";
console.log(myStr)
var myStr = “I am a"double quoted” string inside “double quotes”";
console.log(myStr)
var myStr = “I am a"double quoted” string inside “double quotes”";
console.log(myStr)
var myStr = "I am a"double quoted “string inside “double quotes””;
console.log(myStr)


var myStr = "I am a\"double quoted\" string inside \"double quotes\"";
console.log(myStr)
var myStr = "I am a\"double quoted\" string inside \"double quotes\"";
console.log(myStr)
var myStr = "I am a\"double quoted\" string inside \"double quotes\"";
console.log(myStr)
var 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/89.0.4389.114 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

you are missing the dot at the end, but you are missing also a space here where I quoted

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