Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Rest Countries Challenge | Vue- Tailwind - GSAP - LocalStorage

accessibility, fetch, pinia, tailwind-css, vue
Laerice Dessouassi•450
@dinadess
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


Hi FM community!

Here's my solution to the Rest Countries Challenge. I built it with Vue JS and Tailwind CSS. And as I am currently learning GSAP, I used it to create a little animation on the country detail page (nothing fancy though😄).

This was the first project on which I used the fetch API. And I have some questions about the fetching. I used localStorage to store the countries data to offer a smooth UX as without it, the users would have to wait a few seconds before getting the content of the homepage every time they get back to it. Do you have any suggestions about it? How would you deal with the fetching of the data?

Your constructive feedback is greatly welcomed :)

Thanks!

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 Laerice Dessouassi'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
Frontend Mentor logo

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