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

REST Countries API with dark mode (React/Vite/styled-components/TS)

P

@viniciuscosta89

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


I started this challenge with Next.js. But I got some issues with localStorage because of its SSR. So I moved to Vite + React.

Most of my difficulties were with Typescript stuff and Context API. I had to take look online to better understand them and finish this challenge.

I plan to use Frame Motion for page transitions.

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