Need help animating a strikethrough

was wondering if anyone had suggestions for how to animate a strike through upon scroll?

id like for a line of text to take up the viewport and when the user scrolls, it stays in place but is strikethroughed(?) lol and then another line of text appears underneath it and then it resumes scrolling to the rest of the page.

is there a way to do this? thanks so much!

For that you can keep that text inside a parent, which should have position: relative
And you should add an extra DIV beside that text, this DIV will act as a link. Give it position absolute and position it on the left and vertically center, with 100%. Then give it a height of 2px or as you prefer and give it a background color.

After that add interaction to it…