add auto scroll to bottom html code example
Example: how to make auto scroll to the end in css
let objDiv = document.getElementById("divExample");
objDiv.scrollTop = objDiv.scrollHeight;
let objDiv = document.getElementById("divExample");
objDiv.scrollTop = objDiv.scrollHeight;