+ 5
How to show a new line in js
new line in js
11 odpowiedzi
+ 7
in output
+ 7
on my web browser
+ 7
document.write("I AM IDIOT \n I AM FOOL")
+ 7
thanks
+ 6
but this is not working
+ 6
it is working
+ 5
\n
is this a answer
+ 1
show new line where? in console?
+ 1
can i see your code?
+ 1
document.write("I AM IDIOT <br> I AM FOOL")
0
no problem