how would i go about making a function that when called would scroll a div to the bottom ?
Use the method scrollIntoView() with an element a the bottom of the div.
assign the height size for that div
ok so what if the div is like a console and i want it to be at the bottom when new content is added ?
ps sorry i shod of added that in the first place i am making a text game