Js exercise 3


#1

I have written under the code of the previous task exactly the following statement:
console.log("\"You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'\"");

And the GUI keeps telling me, I would have an Error!
"Oops, try again.Make sure your string is correct and is between quotation marks!"

Whats wrong?


On javascript, step 3 an error message says : oops try again, make sur your sentence is correctly written in inverted commas
#2

@ugbcnlbtax4i3yz
You have too many quotes in your statement. You need to escape quotes (if you are using the same type of quote to demarcate your string) if you want quotes in your string (see); however iirc the assignment does not call for that. And this chapter wants your strings to be exactly what they ask for in the instructions of each lesson.