Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

REST Country API using ReactJS

react, react-router
Rose Borja•120
@mroseborja
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


Hello Frontend Mentors! 👋🏻

This is my solution for REST Countries API with a color theme switcher challenge.

Built with:

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Grid
  • Mobile-first workflow
  • React
  • Vanilla CSS

Challenges:

  • Responsive Design
  • Code Structure
  • Folder Structure
  • Light/Dark Mode Toggle

Learnings:

  • React Hooks
  • Props
  • Router

Continued Development:

  • Pagination

I enjoyed doing this challenge and learned about routing in React. Feel free to comment if you have suggestions for best practices or to make my code cleaner. Thank you.

Any suggestions and feedback are greatly appreciated.

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 Rose Borja'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

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