Skip to content

[Bug]: Search Bar and Dark Mode Toggle Not Working #5253

Open

Description

@Muskan-kagzi

Give a brief about the bug ✍️

Description:
1)Search bar is not filtering/searching games correctly
2)Light/Dark mode toggle is not functioning

What is the expected behavior? 🤔

Description:
1)Debug and fix search functionality
2)Fix theme toggle logic and UI state handling
3)Ensure both features work properly across pages

Provide step by step information reproduce the bug 📄

Description:
1)Search Bar Issue:-
Open the GameZone website
Navigate to the homepage containing the games list
Locate the search bar
Enter the name of any game in the search field
Observe that the games are not being filtered/displayed correctly
2)Dark/Light Mode Toggle Issue :-
Open the GameZone website
Locate the dark/light mode toggle button
Click on the toggle button
Observe that the website theme does not change properly or the toggle functionality does not respond
3)Expected Behavior :-
Search bar should correctly filter and display games based on user input
Theme toggle should properly switch between dark mode and light mode
4)Proposed Solution :-
Debug the JavaScript logic connected to the search functionality
Verify event listeners and DOM element selection for the search bar
Debug the theme toggle logic and class switching mechanism
Ensure proper CSS classes/localStorage handling for theme persistence
Test functionality across different pages and screen sizes

Select program in which you are contributing

No response

Code of Conduct

Activity

  1. kunjgit commented on May 18, 2026

    @kunjgit
    Owner

    Hey @Muskan-kagzi !
    Thank you for raising an issue 💗
    You can self assign the issue by commenting /assign in comment 😀
    Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
    Don’t Forget to ⭐ our GameZone🎮
    Make sure you join our Discord🕹️

  2. Muskan-kagzi commented on May 18, 2026

    @Muskan-kagzi
    Author

    /assign

  3. kunjgit commented on Jun 17, 2026

    @kunjgit
    Owner

    Hey @Jaydeep077 ! , This issue is already assigned to @Muskan-kagzi. 💗
    You can work on other issues 🚀
    If there is anything wrong you can contact us on Discord🕹️👀

  4. AshishCh01 commented on Jul 21, 2026

    @AshishCh01

    Hi @kunjgit I noticed this issue has been assigned for some time, but I don’t see an associated PR yet. If it’s still available, I’d be happy to work on it. Could you please assign it to me?

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions