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

Responsive Profile Card Component

#bootstrap#chakra-ui#itcss

@Buddhad

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

Rio Cantre 9,710

@RioCantre

Posted

Hello there! Good job with this one. Viewing your solution, I would suggest the following for you...

  • Add these properties inside the body tag background-position: center center; and background-size: cover;
  • Create a new rule set called main and add this properties...
main {
  width: 400px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

  • Remove the width and height in the .profile-card and add padding-bottom: 1.5rem;
  • Add margin-bottom: 1rem; in the rule set of .info h3.head-3
  • Adjust the properties in the media queries
  • Instead of h5 alternative is h4
  • Add color value to hr with color: hsla(223, 10%, 83%, 0.79);

Hope this helps and Keep it up!

Marked as helpful

1

@Buddhad

Posted

@RioCantre Thanks you bro for the suggestions It was really 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