I am attempting to detect scroll on a page if it exceeds 100px from a fixed top navigation that has a height of 80px.
The plan is that once the user's scroll, exceeds the mentioned 100px, the navbar will change background color.
I have seen a lot of tutorials on the subject, but all those I have seen are using Jquery. I wish to make this using Vanilla Javascript.