How to have an element change its color during a scroll event and then revert back to its original color?
I am trying to make the footer of a web site im creating change color DURING scrolling and revert back to its original color after the scroll is done. Is there any way to detect when a scroll event ends?
I am looking for answers in vanilla js. Or if there are any specific recommendation available in for example jQuery I'm more than willing to look into it.