Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 10 months ago

Responsive REST API using tailwind and svelteKit

svelte, tailwind-css
Tarik Mujezinovic•60
@DevTare3
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


What are you most proud of, and what would you do differently next time?

I am proud of myself, because this is the first time I've used SvelteKit and tailwind and worked with API's it was really fun I learned a lot and the project still isn't completely finished. I learned a lot about how SvelteKit works SSR, how API calls impact performance, I also learned to use shadcn

What challenges did you encounter, and how did you overcome them?

I learned to make smarter decisions like instead of making multiple fetch requests just make an object file so and look up stuff in there for e.g., in this project its country codes since they don't change it's better to search them up locally.

What specific areas of your project would you like help with?

I still don't know how to limit the size of the cards I tried adjusting min-height but to no avail, I think the issue is different sizes of country flags. I tried limiting them too but it didn't work

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 Tarik Mujezinovic'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