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

rest-countries-api-with-color-theme-switcher-master

Chillyphilly•60
@philipxs1
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?

learned to fetch and use data form the API, better understanding of using async functions and arrow functions.

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

struggled with understanding how to use local storage but after some reading and seeing how other people build their colour switcher I was able to build one my self.

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

to see if there are some cleaner/more efficient ways to write my css and js.

for example i think i'm repeating a lot of functions that i can Refactor but to me this worked and I understand it but i'm sure there are better ways ofc.

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 Chillyphilly'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