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 page

@yudiyoshida

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


Hello guys! How are you? So, this is my third project and all of them I've been using flexbox or grid to make them responsive (or at least I'm trying to make KEKW). Which one of them do you prefer? and why? Thank you!

Community feedback

P
ApplePieGiraffe 30,545

@ApplePieGiraffe

Posted

Hey there, Yudi Yoshida! 👋

Well done on this challenge! 👍 Your solution looks good and you've done a nice job in positioning the background images in this challenge (which can be a little tricky)!

The only very minor thing I suggest is to decrease the intensity of the box-shadow around the card component a little bit (as in the original design) and perhaps to use an <article> for the card itself (since it is a self-contained element) to bump up the semantics of your HTML just a little. 😉

As for flexbox vs. grid, I use both in my projects because they are both such wonderful layout tools. Flexbox is best used for two-dimensional layouts (like simple rows or columns) while grid is better for laying out things like cards (where there will be both columns and rows). I suggest picking the one that seems best for the job! 😀

Hope that helps a little. 🙂

Keep coding (and happy coding, too)! 😁

1

@yudiyoshida

Posted

Hey @ApplePieGiraffe, thank you for you comment and tips! I've already changed the div.card-container to an article tag and made the shadow a little bit smoother.

Thank you for your opinion about flex vs grid.

P.S.: Your profile card project is awesome! I love that 3D animation!!

Keep coding too! :D

0

@Fawkes11

Posted

In my opinion it is valid to use both, but it all depends on what is going to be done, although the truth is that I use flexbox more. I use grid only when it is more complex or there are more elements to organize. greetings

1

@yudiyoshida

Posted

@Fawkes11 Thank you for you comment!

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