Responsive REST Countries API with color theme switcher

Solution retrospective
Here are some things that I have learned from this project:
- Building a single-page application with React: I learned how to build a single-page application using react-router-dom.
- I used React Router to navigate between pages.
- I used HashRouter instead of BrowserRouter that fixed the 404 error in github pages
- I used styled-components library as I found very easier and helpful especially when building multi-page-web.
- Working with APIs: I learned how to fetch data from an external API using the axios library and how to handle errors when making API requests.
- Debugging React apps: I learned how to debug my React app using the browser's developer tools and how to use console.log statements to debug your code.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rami Ben Taieb'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