Profile Card Component - html & css

Solution retrospective
I haven't done much html or css in a year and somewhat forget naming practices and structuring. Any advice on what to improve? I feel like I hacked it together, but it came out better than I expected. I learned some interesting things about CSS along the way. The one that sticks out to me is the problem of centering the '806K' to be aligned with 'London'. By using justify-content, it makes it off-center because the left item is bigger than the others. I fixed this by using flex: 1; instead, which means grow.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Bryan Lee's solution.
Join 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