How to replace text when scrolling horizontally?

Hello everyone, I want to make sure that when you scroll horizontally to change the text in the block.
And so,
we have two blocks
the first block of text
and the second block with images scrolls horizontally, and when the area of the screen is given with a certain picture, the text in the first block change.

https://jsfiddle.net/x0wjxqoy/
July 9th 19 at 10:45
1 answer
July 9th 19 at 10:47

Find more questions by tags CSSHTMLJavaScript