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

build blog-preview-card using HTML and CSS

@MuhReski287

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I applied CSS Flex to this challenge which makes each element look neater and maybe next time I will use a grid to replace flex in arranging the position

What challenges did you encounter, and how did you overcome them?

adjust the width of what I made to what is in the design source. the way to solve it is just to estimate it

Community feedback

zxc-w 80

@zxc-w

Posted

Awesome. You used flexbox correctly and on point.

I have a few simple suggestions:

  1. In your .tag selector, instead of using width: 75px; you can use something like width: fit-content; or width: min-content; to make the width just as much as the content inside it.

  2. In your .person you used flexbox which is correct but if you make the image bigger, you will notice that they are not on the same horizontal line. You can use align-items: center; to center them vertically and they will appear on the same line.

For mobile devices, you should use media queries to make it a little smaller and more suitable for those devices.

Marked as helpful

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