Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

REST Countries API Solution

accessibility, react, tailwind-css, axios
Sean Hoang HIll•240
@seanhillweb
A solution to the REST Countries API with color theme switcher challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

This is my solution for the REST Countries API application. I am a free user, and do not have access to the design files from the Pro version. I built this app using React, Next.js, TailwindCSS, React Hook Forms, Axios, and Next Themes.

Technologies Used:

  • React
  • React Hook Forms
  • Next.js
  • TailwindCSS
  • Next Theme

I am most proud of the display and interactions that I added to the project. It feels snappy and responsive!

What challenges did you encounter, and how did you overcome them?

My initial struggle was getting the search and region filter working as expected. Once I settled on an approach, I was able to accomplish that relatively quickly.

What specific areas of your project would you like help with?

I had trouble implementing the filters and using their respective API endpoints. I think the best way to manage that would be setting up a Context Provider and Reducer. Does anyone have a good resource for this approach?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Sean Hoang HIll'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License