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 post card made with CSS

P
Rahul 30

@c99rahul

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 explored the mystery of CSS line-height yet again by reading the major difference between number and percentage-based values. Using this knowledge, I made the final output nearly identical to the shared design.

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

The only challenge was to space things just like the shared design without using pixel values. I prefer working with relative units more than absolute ones (like px), but having said that, the shared Figma file was really useful for gathering the spacing and sizing data.

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

I would like to know what people prefer working with more these days professionally: relative units like em and rem or absolute ones or a balanced blend of all that?

Community feedback

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