Looking to identify the tallest element currently visible on the browser window.
Within my website, there are several span elements, and I aim to detect which one is at the top of the browser view as the user scrolls.
My strategy involves storing the ID of that element so that when the user returns to the document, it automatically scrolls to the most recent position.