The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
scrollTo()
MDN Reference
Optional
The
scrollTo()method of the Element interface scrolls to a particular set of coordinates inside a given element.MDN Reference