You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement]-Add Active Navigation Highlighting Based on Current Scroll Section #287
Currently, the navigation bar does not indicate which section of the page is currently being viewed. Users may lose track of their location while scrolling through the website.
Proposed Solution
Implement active section highlighting in the navigation bar. As the user scrolls through different sections of the page, the corresponding navigation item should automatically become active/highlighted.
Expected Behavior
"HOME" should be highlighted when the Home section is visible.
"SUBJECTS" should be highlighted when the Subjects section is visible.
"CONTRIBUTE" should be highlighted when the Contribute section is visible.
"SPONSOR" should be highlighted when the Sponsor section is visible.
"QUIZ" should be highlighted when the Quiz section is visible.
The active state should update smoothly as the user scrolls.
Benefits
Improves navigation and user experience.
Helps users identify their current position on the page.
Provides visual feedback during scrolling.
Makes the website feel more interactive and polished.
Possible Implementation
Use the Intersection Observer API or a scroll listener to detect the currently visible section and apply an active class to the corresponding navigation link.
Additional Context
This feature is commonly used in modern landing pages and documentation websites to improve usability and accessibility.
Activity
akshatsinghai6682-sketch commented on Jun 13, 2026
Activity
akshatsinghai6682-sketch commentedon Jun 13, 2026
hi @pushkarscripts i can work on it please assign this issue to me