This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- See all countries from the API on the homepage
- Search for a country using an
input
field - Filter countries by region
- Click on a country to see more detailed information on a separate page
- Click through to the border countries on the detail page
- Toggle the color scheme between light and dark mode
- Solution repository: Github
- See the solution: Where in the world?
- Svelte - JS library
- SvelteKit - Svelte framework
- Tailwind CSS - For styles
This was a real challenge, with it I understood the structure of Svelte better and used most of the basic and more advanced concepts of the framework, reactivity, data fetching, routing and much more.
It is worth taking into account that I am used to developing using React and Next.js and starting to code with a new structure and in fact different from the React standard established on the web is a certain challenge.
The Svelte documentation was my faithful ally in this challenge.
- Github - Bielframos
- Frontend Mentor - @Bielframos
- Twitter - @GabrielFramos99