Submitted over 1 year ago
Profile card component solution with HTML and SCSS
@sophie-mc-dev
Design comparison
SolutionDesign
Solution retrospective
This is my solution for the Profile Card Component challenge.
- To align the profile stats at the bottom of the card I used:
justify-content: space-between;
. However, the middle stat ("Likes") doesn't seem quite on the center of the card, as I would expect it to be. Is there any idea on how I can improve this? Should I not use space-between? - Is my HTML structure okay? I didn't want it to be too complex since it is a simple component.
- Also, because I divided the card into three different sections, I removed the classes for most elements as they can be easily accessed through the parent class. Is this a good practice?
I'm happy to hear any feedback and advice to help me improve!
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