vanilla JS theme switch and fetch JSON

Solution retrospective
It was my first project whit a theme switcher, I think it went pretty well. I also used localStorage to save the preferred theme and used matchMedia() to check if the user add a setted theme. I added the data dinamically using fetch on the JSON file.
What specific areas of your project would you like help with?I would appreciate feedback on both of the js files. Obviously if there's something wrong with the CSS please advice me :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Claudia'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