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 blog card preview with flex

@The-BoxHead-Guy

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?

The creation was made straightforward after resetting the complete layout of the project using:

margin: 0;
padding: 0;
box-sizing: border-box;

I'd start with this preset in the next project in order to control better the dimension of any visualization

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

When the position of each element within the card weren't completely symmetric among them, however; after using display: flex the arrangement of the elements inside of the containers were easier to measure, and arrange.

What specific areas of your project would you like help with?

I'd like to have a better approach about how to implement SVG in future projects and how would it be straight and easy to stylize them.

Community feedback

@vincentwilliamrodriguez

Posted

Hello Jhon! Your solution looks neat and organized, especially with the use of BEM. It matches very well with the original design. As for the index.html file, you seem to have used the <svg> tag for displaying illustration-article.svg. This tag can be helpful if you want to customize the svg directly from the editor, but you may also want to use the <img> tag instead for simplicity purposes, like this:

<img src="assets/images/illustration-article.svg">

Other than that, great job!

Marked as helpful

0

@The-BoxHead-Guy

Posted

@vincentwilliamrodriguez

Hi dude, thank you so much for the feedback, I really appreciate it since it means a lot to me.

The reason that I didn't use the <img> was exactly I wanted to change its design using CSS, to be precise: Its dimensions.

However; it's not a bad suggestion, in fact, it's very good.

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