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 color theme switcher | Built with Sapper

Connor Z• 5,115

@zuolizhu

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


Feedbacks are welcome!

This project is built with Sapper and I exported to the static site before deployed. All the subpages (the detail page for each country) are pre-cached by Sapper (which makes the speed of deployment super slow🤪).

I used the country code for each country's page instead of the country name to avoid validation error (some of the country names have invalid characters for url).

Also, It seems the HTML validator does not support image lazy loading 🤔

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