Tell us what’s happening:
I am having trouble completing a literal quote string problem on basic JavaScript lesson. I can’t find the error that is making my tests fail.
Here are the instructions:
Use backslashes to assign a string to the myStr
variable so that if you were to print it to the console, you would see:
Your code so far
var myStr = "I am a \"double quoted\" string inside \"double quotes\"." ; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings/