+ 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"]

10th Oct 2020, 6:15 AM
Suraj
Suraj - avatar
3 Respostas
+ 3
Have you tried using the newline character ("\n") ?
10th Oct 2020, 6:42 AM
Arsenic
Arsenic - avatar
0
Yes I have tried new line charakter
10th Oct 2020, 2:30 PM
Suraj
Suraj - avatar
0
Use "\n" : document. write("\n"); Note, it has to be surrounded in double quotes for it to be interpreted as a newline.
8th Nov 2020, 11:11 AM
Pankaj Singh👈
Pankaj Singh👈 - avatar