![javascript - Active State disappears when I click on a non-active link and switch tabs - Stack Overflow javascript - Active State disappears when I click on a non-active link and switch tabs - Stack Overflow](https://i.stack.imgur.com/LgWEi.jpg)
javascript - Active State disappears when I click on a non-active link and switch tabs - Stack Overflow
GitHub - Kosalexei/active-menu-link: A pure JavaScript smooth scroll & scrollspy library which highlights the active menu item based on the scroll position.
![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/NBxTj05W0wI/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLB7h-6qclXiFUTJrQKNcAVGV8FvUw)