REST Countries API - CSS Modules + Sass
Design comparison
Solution retrospective
Any feedback welcome, especially any methods for lazy loading lots of remote images on a static site.
Community feedback
- @denieldenPosted almost 2 years ago
Hello lissajous, You have done a good work! 😁
Some little tips to improve your code:
- use
article
tag instead of a simplediv
to the container cards of country for improve the Accessibility - instead of using
px
use relative units of measurement likerem
-> read here - use one class to
body
to change the all theme color of app - after, add
transition
on the body to smooth the change theme color - use
ul
element for the details text of country instead of multiplediv
- if I type a query that doesn't give any results, nothing happens, try adding a "no results" message
- I would also add a query reset button, I find it very convenient
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful1@lissajous-laserPosted almost 2 years ago@denielden thanks for taking the time to review my code!
I've implemented your tips to improve the semantic html, and I've added a 'no results' message.
I'm still trying to figure out how to refactor the theming with the css methods that I've used in the project.
It takes longer to use
rem
units when working from a mock-up, but I'll make a bigger effort to use to use them next time.0@denieldenPosted almost 2 years ago@lissajous-laser You are welcome and keep it up :)
0 - use
Please log in to post a comment
Log in with GitHubJoin 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