
Responsive Stats Preview Card Component Using Flexbox
Design comparison
Solution retrospective
Hello Friends,
I need help:
-
Did I structure my HTML properly? I think for the title and the text I set a set a max-width and wrapped them in a container to center them, don't know if this was a good approach. Also I find it hard sometimes to analyze a design and translate into a HTML structure, this leads to me adding a wrapper or additional div mid-project, how can I overcome this problem?
-
I felt like I used max/min-width and height properties to size the card and the image without properly understanding them, would anyone be able to go over my code and suggest a better approach to this challenge?
-
The image is distorted in the desktop version, any suggestion on how I could fix it?
-
If I could improve on anything else which I haven't mentioned above please let me know.
THANKS IN ADVANCE :)
Community feedback
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