Checking which span element is currently on the screen or the closest to it upwards
<p>I'm trying to see which span element is visible on the screen or the closest to it upwards, I'm not exactly sure how to achieve this. The page will be scroll able and the spans will be visible. is there a selector for visible on the screen ?</p>
