Skip to content
Submitted 1 day ago

REST Countries API with Color Theme Switcher | React & Tailwind CSS

react
LVL 3
@abdullah-zulfiqar0
A solution to the REST Countries API with color theme switcher challenge

Solution retrospective


What are you most proud of, and what would you do differently next time?

Implementing a smooth Light/Dark theme switcher with localStorage persistence. Writing clean combined filtering (search + region) using pure React state and array methods. Creating dynamic border country lookups for smooth navigation. What I'd Do Differently Use React Router for clean multi-page URL navigation. Use Context API to eliminate prop drilling across components. Refactor multiple states into a single state object.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Abdullah Zulfiqar’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