Responsive Stats preview card component created with CSS Flexbox
Design comparison
Solution retrospective
Hii everyone, this is the sixth challenge I have tried to recreate. I'm so happy about how it turned out, but I think I could further improve in writing cleaner code.
It would be helpful for my future growth if you could point me in the right direction. For example, I'm interested in potentially better solutions for this challenge. In which area do I need to improve, and what do you recommend that I should implement? What are some best practices that I haven't got right?
I had problems with creating an overlay for a given image. After half an hour of researching, I found a viable solution that works. I'm interested is there any better solution maybe?
Thanks for your attention and all the future feedback.
Community feedback
- @vanzasetiaPosted about 2 years ago
Hi, Mihael! 👋
For the image, I recommend using the
picture
element to control the images. After that, usemix-blend-mode
instead ofbackground-blend-mode
. Lastly, reduce theopacity
of the image to0.75
.@DarrickFauvel did great on his solution for this challenge. I recommend taking a look at his solution as a reference to improve your solution.
For the statistic, I suggest making it a list. It will make more sense if the content is rendered as a list.
- 10k+ companies
- 314 templates
- 12m+ queries
Hope this helps!
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