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

REST countries API with color theme switcher reponsive

escannord•160
@escannord
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?

during coding I captured the process to add the animations with js, so I tried to implement it as best as I could, so next time I will create even more impressive animations than the one I I created in this project.

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

initially the javascript fetch API sent me CORS errors telling me I was not authorized to access the data.json file, I searched and finally realized that it was not was not possible to access the date by file\\\: but rather not http:// or https://. therefore passed through a web server.

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

nowhere at the moment.

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