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
myStr="\tFirstLine\n\\SecondLineThirdLine";
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.
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
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.