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

P
Zugim 60

@Zugim

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 was pleased that I was able to implement fonts responsively using rem units and media queries. When the viewport's width is less than 300px the font size for the component will decrease slightly. While not really necessary for this particular project it will hopefully come in handy for future projects.

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

I encountered some weirdness when styling my header, which is a link nested inside a h2 element. I was originally trying to style the h2 element but the font wasn't displaying as expected. I did some research and discovered I should instead style the nested element.

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

I was wondering if people usually use rem/em units project wide or is it primarily for fonts? I was thinking they could also be useful for padding and margins.

Community feedback

ItsZubek 20

@ItsZubek

Posted

Good use of semantic HTML and CSS variables. Layout looks good. Solution is improved upon from the original design by adding 2 extra fields to the category section. Good use of css grid property.

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