Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active navlink according to the page #61

Open
swaparup36 opened this issue Dec 30, 2024 · 2 comments
Open

Active navlink according to the page #61

swaparup36 opened this issue Dec 30, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers SWOC

Comments

@swaparup36
Copy link
Collaborator

Describe the bug
On the navbar it's not showing the current page in which we are. On every page, it's showing home is the active navlink.

To Reproduce
Steps to reproduce the behavior:

  1. Open index.html
  2. Then click on any navbar link/item to open the respective page
  3. When the new page is loaded then take a look on the navbar

Expected behavior
Navlink should be active according to the current page we are in. eg. - When we are in about page then "About us" should be active (i.e. underlined).

Screenshots
Screenshot 2024-12-30 105029

@swaparup36 swaparup36 added good first issue Good for newcomers SWOC labels Dec 30, 2024
@Anshpatwal
Copy link
Contributor

Hey, I would like to work on this issue.

@swaparup36
Copy link
Collaborator Author

@Anshpatwal Go ahed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers SWOC
Projects
None yet
Development

No branches or pull requests

2 participants