Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Solution: REST Countries API with color theme switcher

next, sass/scss, typescript, react
eine•70
@einedev
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 didn't encounter many challenges aside from styling (though AI was used to generate small general-purpose code snippets). Some parts of the code can be refactored but I feel lazy to do that at the moment I'm writing the retrospective.

This was my first time trying scss/sass... and most of the time was spent on styling. It's hard to put everything in the retrospective, but I learned a lot from this project. The biggest outcomes are styling sheet organising and refactoring.

I didn't make the style sheet (i.e. themes.module.scss) at the very early stage then ended up organising the style with more efforts later in this project. I should consider doing more research on the given design file and making a style sheet before diving into css classes writing. I should also make styling sheets early for different components (I did it late this time).

What I should learn before the next project:

  • Page load skeleton
  • Grid layout
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 eine'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
  • Use cases

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