GitHub - trungk18/Change-Navigation-Active-Class-on-Page-Scroll: How to add active class to menu link items based on window scroll using CSS and jQuery.
![javascript - how to add class 'active' to nav item whose href is in the location.pathname - Stack Overflow javascript - how to add class 'active' to nav item whose href is in the location.pathname - Stack Overflow](https://i.stack.imgur.com/9OEZd.png)
javascript - how to add class 'active' to nav item whose href is in the location.pathname - Stack Overflow
![How to change HTML class based on URL in Wordpress PHP? - HTML & CSS - SitePoint Forums | Web Development & Design Community How to change HTML class based on URL in Wordpress PHP? - HTML & CSS - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/original/3X/3/a/3a11d835367c2909e1d5ffb287c58949e539eece.jpeg)
How to change HTML class based on URL in Wordpress PHP? - HTML & CSS - SitePoint Forums | Web Development & Design Community
![How to Create an Active Nav Link on Scroll using HTML CSS and Javascript | Active Menu Class - YouTube How to Create an Active Nav Link on Scroll using HTML CSS and Javascript | Active Menu Class - YouTube](https://i.ytimg.com/vi/UoE1hqfpXX0/maxresdefault.jpg)