Design comparison
Solution retrospective
In the part of arranging the statistics in columns took me some time and I wasn't sure how it worked, I also couldn't reduce the white space between the image and the name. If someone could help me with this part, I would be very grateful. Other than that, I'm enjoying the challenges.
Community feedback
- @krushnasinnarkarPosted 5 months ago
Hi @MoonAmon,
Congratulations on successfully completing the challenge!
I have a suggestion regarding your code that I believe will be of great interest to you.
-
For the
body
element, you usedmin-width: 100vh;
. I think that's a typo; you should usemin-height: 100vh;
:body { min-height: 100vh; }
-
Remove
margin-top: 100px;
from#card_main
. There is no need to add top margin because you usedplace-content: center;
for thebody
element, which will automatically center the card:#card_main { /* margin-top: 100px; */ }
-
To make the design similar to the design for the
26
number, add the following styles to thespan
inside the#h3_name
id:#h3_name span { font-weight: normal; color: hsl(0, 0%, 59%); }
I hope you find this helpful, and I would greatly appreciate it if you could mark my comment as helpful if it was.
Feel free to reach out if you have more questions or need further assistance.
Happy coding!
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