Open
Description
Summary
I have added a dark mode feature that works when toggled. However, I noticed an issue: after an API call, the dark mode toggle stops working. I am not sure why this happens, as I am using GitHub Codespaces.
Changes Made
- Implemented dark mode toggle using JavaScript.
- Updated background and text colors for dark mode.
- Saved dark mode state in localStorage.
Issue Found
- After making an API call, some elements lose dark mode styles.
- The toggle button stops responding after an API call.
Next Steps
- I will debug this issue further, but any suggestions are welcome!
- If this PR is merged, we can open a new issue to track the dark mode bug.
Please review and let me know if I should make changes before merging! 😊
these two screenshots showcasing issues