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 using HTML5 & CSS3

@lyes-mersel

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

  • The background images should be applied using CSS not HTML. You can accomplish this by using the background-image property.

  • To properly center your content to your page, you will want to add the following to your Body Element (this method uses CSS Grid):

body {
    min-height: 100vh;
    display: grid;
    place-content: center;
}
  • The profile card’s background is decorative, it does not add any value. So its Alt Tag should be left blank and have an aria-hidden=“true” to hides them from assistive technology.

  • The only heading in this challenge is “Victor Crest”. Everything else should be wrapped in a Paragraph Element.

  • The statistics are a list. They need be created using the Unordered List along with the List Element.

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding! 🍂🦃

Marked as helpful

1

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