Basic JavaScript - Escaping Literal Quotes in Strings

Tell us what’s happening:
I dont understand what is wrong with this string I have watched the video and looked at the examples I feel like this is correct.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Challenge: Basic JavaScript - Escaping Literal Quotes in Strings

Link to the challenge:

@GuppyCruncher It says change this line. You have added another line :upside_down_face:

@GuppyCruncher Oh and welcome to the community! Happy coding ! :grinning:

You’re supposed to update the line that has the comment Change this line

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