Toggle class of fixed header when hovering specific divs in Javascript
I'm building a site with a fixed header positioned at the top of the window. I'm trying to toggle a class to switch the color of the header when scrolling hover specific divs with the class .is-dark While scrolling, the…