writeln() will create a newline, and a newline is ignored in HTML syntax. You must use writeln to compose a line break as well.
document.writeln("here the one text");
document.writeln("<br>");
document.writeln("and this text must be on new line");Or you could wrap your code in preformatting tags, to expose the newline:
document.writeln("<pre>");
document.writeln("here the one text");
document.writeln("and this text must be on new line");
document.writeln("</pre>");
Be sure to read the updated
FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us
why or
what errors occurred.