Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Where in the world app - color theme switcher

#react#react-router#styled-components

@AngeliqueDF

Desktop design screenshot for the REST Countries API with color theme switcher coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


I completed this challenge, but I have identified several aspects to improve among which:

  • Loading only a few countries on first load, then more when the user scrolls.
  • Add tests.

One question I have is: how to properly use react-bootstrap and bootstrap with React apps?

I used those two libraries to style components and add the dropdown menu for region filters. I don't regret this choice since it allowed me to add functionality and improve the app's accessibility.

But when writing CSS, I ended up overriding rules instead of taking full advantage of the utility system where I could directly enter values for variables. Is it the right way to use react-bootstrap?

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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