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

REST Countries (Astro, React, Tailwind, SSG, ViewTransitions)

astro, react, tailwind-css, fetch
Javier Eufracio•320
@Javieer57
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


This is my first project using Astro and ViewTransition functions. I wanted to apply a slide animation when transitioning only from the index to the details screen, but I couldn't achieve it as I wanted without the details page changing all its content between others details pages (which was not what I intended).

Does anyone know of a comprehensive guide for implementing ViewTransitions? I also couldn't implement the transition: persist directive.

Thank you!

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 Javier Eufracio'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