+ 1
For getting a new line we have to put \n but it is not working in javascript of sololearn.Do you ever expirenced this here.
Please check it.
10 Respuestas
+ 1
@romer use <br> instead of \n
+ 1
glad I could help. Happy coding!
+ 1
this also in py unless you use the triple "
+ 1
what is the salary of a software engineer???
plzz tell !!
0
pls post the code to get help
0
0
@benbright It's javascript not html.
0
the document.write writes into the DOM, and that's HTML. Use the <br> and see if it works as you want or not.
0
@benbright I modified the code check it once more.
0
@benbright <br> works.