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

Rest Countries API project

Palak Yadav•100
@palak-007
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?

I have implemented dark mode and light mode functionality, fetched data from API specific to the conditions, made the layout very close to what was given. Made good use of javascript to dynamically add and delete elements. Implemented the search and filter option also. I would try to make use of js efficiently next time.

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

I encountered challenges while displaying data fetched from API and filtering it. Also while displaying country details while clicking on border countries was also a hurdle.

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

I would like help with one option that is while searching for a country it gives all the countries whose name contains the input text not the countries starting with it for eg i will search for 'es' then it will show country say 'Indonesia'.

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 Palak Yadav'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