Design comparison
Solution retrospective
All feedback is greatly appreciated, thank you!
Community feedback
- @correlucasPosted about 2 years ago
πΎHello @Peteksi95, Congratulations on completing this challenge!
π¨βπ» Here are some tips to improve your solution code:
Your solution its already good, something you can do to improve the card responsiveness is create a media query for the
stats section
and make each stat number stay in a different row aftermax-width: 350px
using a media query, here's the code for that:@media (max-width: 350px) { .container { display: flex; flex-direction: column; justify-content: center; padding-top: 0.5em; padding-bottom: 0.5em; } }
To reduce your CSS file and improve the performance of loading your page you can use a tool called
CSS minify
that reduces the CSS code by removing the unnecessary characters. You can use aVSCode
plugin calledminify css
or this website tool to reduce your code:https://www.toptal.com/developers/cssminifier
βοΈ I hope this helps you and happy coding!
Marked as helpful0@Peteksi95Posted about 2 years ago@correlucas Thank you very much for your feedback. I will definetely look into CSS minify, sounds very useful
0
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