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

Blog preview card using Flexbox

P

@frankgomezdev

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 two things I am most proud of are:

  1. I finished this faster than it would usually take me. Practice and repetition are key.
  2. I feel like this is one of my first solutions that is almost 99% identical to what the design file shows.

If I could do anything differently next time... I set most of the colors, font sizes, and styles after I was done getting the layouts and images correct and I would probably do this reverse in my next project.

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

My two biggest challenges were:

  1. Centering the blog card horizontally and vertically (surprise, surprise). I pulled up a blog post by Josh Comeau that wrote about how to center divs with different methods (using margin, flexbox, or CSS grid) and used the method that made the most sense to me.

  2. Getting that yellow box around the category "Learning". I used Google to find some solutions and landed upon one that worked for the blog card.

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

Specific areas I would like help with:

  1. Is my HTML structured properly and semantic? If not, how can I improve it?
  2. What improvements can I make on how I name my classes?
  3. Any improvements I can make to the CSS so that the attribution isn't so low on the page?

All advice and feeback is welcomed. Thanks in advance.

Community feedback

P
Laila Ben 180

@Laila-front-dev

Posted

your work is great keep this way, and this energy

0
Shameem 150

@shameem-dev

Posted

.

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