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

REST Countries API using React Hooks,Custom Hooks, loading skeleton

@mritunjaysaha

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've used loading skeleton, material-ui for the dropdown menu, and unicons for the icons.

I faced problems in theme switching using SASS. If some one could help with this.

Feedback would be appreciated.

Community feedback

@shubhamthedev

Posted

Hi, the loading skeleton looks great in fact i didn't know such a tool existed so thanks i learned something from you and on the subject of theme switching, it seems to work fine. But here's how i did mine, basically when i toggled dark mode i basically stored this info in local storage plus i made sure that as soon as body gets a class of .class everything else on the page also changes.

This is my Solution

Hope this helps!

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