Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Solution using Next.JS 14 app router

#next#react#tailwind-css

@VivekAlhat

Desktop design screenshot for the REST Countries API with color theme switcher coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


This challenge was extremely fun to code. I built the solution using the Next.JS 14 app router. This was a perfect opportunity to implement my learnings. Key highlights:

  • Used Next.JS app router
  • Used server components and client components
  • Handled navigation using search params
  • Used next-themes for adding dark mode support
  • Added custom pagination

Your feedback is always appreciated!

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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