I do not know how to show \SecondLine at the half of First line

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


const myStr = "FirstLine
\t\\SecondLine\rThirdLine"; // Change this line

Your browser information:

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

Challenge: Escape Sequences in Strings

Link to the challenge:

Don’t put them on separate lines yourself, use the escape sequences.

I was able to add an escape sequence and change one other to get your code to pass. Pay attention to the error messages - they are trying to help you.

Hello,

I have figured it out.

The code was correct but, the site loaded harder this time.

Best regards,
Stefan Dulca

That code up above should not pass - it has 3 errors.

1 Like

Hello,

You right!

I have written another one that was correct and I have passed.

Best regards,
Stefan Dulca