Escape Sequences in Strings#3

Tell us what’s happening:
The error keeps saying to insert a new line character between SecondLine and ThirdLine. I did that but it’s not detecting it. What should I do ?

Below is the code what I have done so far

Your code so far

var myStr; // Change this line
myStr ="FirstLine\n\t\'SecondLine\'\n\'ThirdLine\'";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.

You have single quotes in those strings that don’t belong. Remove them and you should be able to pass the test.

1 Like

If memory serves, there shouldn’t be any single quotes in this string.