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

Flex and Grid

#react#react-router
Joe-Praise 180

@Joe-Praise

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

Community feedback

@coderdannie

Posted

Hi. Congrats on the completion of this project. An extra features you can add is to store the themes state using browser localstorage so that your site can maintain the theme state even if the page was reload. Right now if I switch to light mode and reload the web page its switching back to the default theme. Using browser storage to store the theme and accessing the themes based on user preference will prevent this from happening. https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

Marked as helpful

0

Joe-Praise 180

@Joe-Praise

Posted

@coderdannie Thank you emmanuel. i'd implement it as soon as possible, this was really helpful

0

@ortonb110

Posted

Well done Joe, you've done a terrific job here. I would suggest you take a little closer look at the errors and try to correct them as it will improve your page semantically. Nice job Joe

0

Joe-Praise 180

@Joe-Praise

Posted

@ortonb110 thank you boss, i noticed them and just fixed the errors. Thanks for the feedback

0

@ortonb110

Posted

@Joe-Praise 👍

0

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