Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Profile Card Component

Nienโ€ข 170

@trandainien

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


All comments are welcome

Community feedback

Lucas ๐Ÿ‘พโ€ข 104,560

@correlucas

Posted

๐Ÿ‘พHello again Nien, congratulations for your new solution!

๐ŸŽ‰ Nice solution and nice code! I can see that you paid a lot of attention to your code/design. If you donโ€™t mind Iโ€™ve some tips for you:

1.Improve the card responsiveness is create a media query for the stats section and make each stat number stay in a different row after max-width: 350px using a media query, here's the code for that:

@media (max-width: 350px) {

.py-6 {
    display: flex;
    gap: 20px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    flex-direction: column;
}

2.Don't forget to use the alt text to allow screen readers to recognize that img. Adding alternative text to photos is first and foremost a principle of web accessibility. Visually impaired users using screen readers will be read an alt attribute to better understand an on-page image.

โœŒ๏ธ I hope this helps you and happy coding!

Marked as helpful

1

Nienโ€ข 170

@trandainien

Posted

@correlucas thank you so much. i'll remember it

0

Please log in to post a comment

Log in with GitHub
Discord logo

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