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

REST Countries API with Color Theme Switcher using basic JS, CSS, HTML

Ronald Sayre•260
@RJ3605
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?

Overall, coming back to and completing this project is what I am most proud of. I took a few months off and was falling out of the swing of coding.

Also, as basic as it sounds, I'm proud of finding a way to iterate over the nested data in the API's JSON output. It took a while for me to figure out Object.values() existed.

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

Too many to name here... but I overcame them by sheer willpower!

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

If anyone has advice on how to utilize the correct "Native Name" for each individual country it would be greatly appreciated. I am unsure how to determine what the correct native name is for each country as some have several (looking at you Belgium...). I think if I could determine which one it is, then I believe could find a way to make that work. For now I replaced it with the Official Name.

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 Ronald Sayre'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

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