Responsive site with dark-light mode toggle using Vanilla CSS and JS

Solution retrospective
- I was unable to implement a border radius with a gradient border on the Instagram Card. I would appreciate it if someone could provide some good resources for this.
- Also, I'm a newbie at JS. I would love to get some insights about the best practices to write JS code because I think the light-to-dark mode logic could be written more efficiently.
- I'm open to any other suggestions as well. Feel free to comment about it.
Thank You
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Archi Halder'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