I think maybe I need some help

Tell us what’s happening:
I don’t know how to do myStr should contain a tab character \t which follows a newline character. I think maybe I need some help.

Your code so far

var myStr// 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/75.0.3770.142 Safari/537.36.

Link to the challenge:

right now your myStr has this value:


Remember that it should be like this:


right now you have \t at the beginning, which is causing the first line being a bit to the right, instead you need the \t in an other place, and it needs to follow a new line character, which is \n

1 Like

Now it looks like * I have a little depressed, do not know how to do this.image

You have to put escape characters after whatever other character you want or need. So if you want a word to begin on a new line (after whatever character) and after a tab, you put a new line character and a tab character and escape all those formatting characters one by one and only then place your text you want to begin on a new line or whatever.

1 Like

Maybe this can help you:

Here is the text with the escape sequences written out.
“FirstLine newline tab backslash SecondLine newline ThirdLine”

1 Like

I’ve been through with your advice. Thank you!

I’ve passed, thank you.