Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Responsive Pages On Each Device With LocalStorage Dark Mode Applicable

Witcher•170
@CodewithWitcher
A solution to the REST Countries API with color theme switcher challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

When I get border data from the Json, which was little bit tricky because that was not a direct object. It comes under sub objects, so it takes little bit time. Next time, I definitely read first, the Json file. After that, I start doing the project.

What challenges did you encounter, and how did you overcome them?

I have added the dark mode value in the local storage, which allow us to when we come to the page again after sometime or next time, then the data automatically fetch from the local storage and apply the dark mode automatically if you Applied dark mode previously, it was a little bit problematic, but later on it, figure out

What specific areas of your project would you like help with?

This project required little bit help in more flexibility.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Witcher'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License