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

Countries API - React.js / SCSS

#react#sass/scss
Bazthos 430

@Bazthos

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


Hi everyone, I'm on my React period and I've take lot of fun complete it !

Maybe, I need some advice :

<select/> && <option/> I didn't change CSS (look to complicated), did you have a good way to custom these element ?

variables and theme switcher I used and changed the variables applied to :root based on a state that switches with a button. I don't think this is the most optimal way in terms of performance, do you have any advice on how to create a theme switch with React and ScSS?

Thanks in advance and happy coding

Community feedback

Divine Obeten 2,435

@Deevyn9

Posted

Hi, congrats on completing this project, everything seems to be working as it should, you should give the containers margin, they almost crashing into each other.

Happy coding!

Marked as helpful

0

Bazthos 430

@Bazthos

Posted

Hi ! Damn ... Thank you so much, you made me remember the properties of margin and why they were crashing ...

See ya !

1

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