Skip to content

[UI Enhancement] Highlight Active City in Navbar Dynamically #42

@AnkithaMadhyastha

Description

@AnkithaMadhyastha

Description:
The navbar does not currently highlight the active city/page the user is viewing. This can be confusing, especially when navigating between multiple pages.

Expected Behavior:

When a user is on ajmer.html, the “Ajmer” link in the navbar should be visually highlighted (e.g., different background or underline).

Use JavaScript to detect the current page and apply a class to the relevant navbar item.

Bonus:
Make the active class styling consistent across all city pages.

Please assign this issue to me. I would like to work on this enhancement. @komalkhatod1105

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions