Github Search app with HTML, CSS and Vanilla JS

Solution retrospective
Hello everyone,
This was a nice challenge to keep practicing working with API's.
I couldn't quite figure out how to use the "prefers-color-scheme" on CSS so, if anyone could help me on that, it would be great.
Also, it's the first time I've done a dark/light switch so, if there's a better way to do it, please let me know, pretty sure I could use the css variables in a more efficient way.
Any input on my JS code is also welcome.
Happy coding 🤓
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Renan Tiscoski's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord