+ 1
I need help I am making a chat bot system in java script for full details plzz read the description
So guys I want to insert lot of space in var abc[" "] EXAMPLE... HI this is gla collage Waht you want to know about us Reply 1 if you want to take admission So the main problem Is I am unable to insert lot of space or ENTER to start new line I hope you will understand.. If you know than plzz tell me If have any confusion than look in code👇👇👇👇👇 alert("Welcometo G.L.A") var abc=[" "] var hi=["Hi student"]
3 Antworten
+ 3
Have you tried using the newline character ("\n") ?
0
Yes I have tried new line charakter
0
Use "\n" : document. write("\n"); Note, it has to be surrounded in double quotes for it to be interpreted as a newline.