Skip to content

sidebar looses solved#80

Open
annrose2277-glitch wants to merge 1 commit into
rspavithra:mainfrom
annrose2277-glitch:feature
Open

sidebar looses solved#80
annrose2277-glitch wants to merge 1 commit into
rspavithra:mainfrom
annrose2277-glitch:feature

Conversation

@annrose2277-glitch
Copy link
Copy Markdown

📌 Description

The filterNotesByCategory function in script.js was updated to correctly identify the "All Notes" tab's HTML ID
(navNotes) when the "all" category is selected.


🔗 Related Issue

Closes #75


🛠 Changes Made

const navId = category === "all" ? "navNotes" : nav${category};
const builtInNav = document.getElementById(navId);
if (builtInNav) {
builtInNav.classList.add('active');
}


📷 Screenshots (if applicable)


✅ Checklist

  • [yes ] I have tested my changes
  • [ yes] My code follows project guidelines
  • [ yes] I have linked the related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"All Notes" Sidebar Tab Loses its Highlight

1 participant