Kernix13 / Kernix13/mobile-menus
fix: Select all menus by using querySelectorAll to add event listeners to each button
Open
bug
enhancement
- Dominant language
- CSS
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I have the same markup for 4 `` elements on the page, and right now my JavaScript is using `querySelector` for the first button and first nav ul on the page. I'll need all of them so that I can listen for clicks and add a different class for each nav menu.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the JavaScript that currently uses querySelector for the header button and nav ul. Verify that all four headers receive click listeners and that each click applies a distinct class to its corresponding navigation menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100