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

Made with Next.js, TypeScript and TailwindCSS

next, react, tailwind-css
Paweł Pohl•390
@Pawel1894
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


Hey everyone!

Here is my first ever next.js app : ) I'm really hyped about this and loved the development experience this framework gives.

List of features -all country pages are prerendered during build time

  • every country card in homepage is also prerendered
  • dark mode
  • selecting default theme base on user's prefers-color-scheme
  • filter countries by region
  • search country by a name
  • optimized WebP images

Tech stack

  • Next.js
  • TypeScript -TailwindCSS

I'm open for constructive criticism and if you have any questions about the code don't hasitate to ask.

Have a nice day 😀

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 Paweł Pohl'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