REST countries API using REACT

Solution retrospective
Hi everyone!
Had a lot of fun building this project and some struggles, in particular:
-
Setting up the light mode. I could easily change the background color, however when it comes to change the background of some particular elements like buttons that were on different components I couldn't make it. The text "light" and "dark" also just changed once and never changed again.
-
Filtering while typing I had the input in a different component from where I called the API, so it was hard to filter by the user input. I added a button and managed to filter that way but it wasn't supposed to be like that...
-
I still have some bugs, for example if I don't type anything and click on "search" it breaks up the app completely.
Thanks in advance for your feedback.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on beatrizalmeidapires'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