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 preview card using HTML and CSS

Kaveesha 40

@kaveeshagim

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'm very happy with how i managed to place all the components evenly in the card component and designing my blog card similar to the challenge preview

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

After finishing the design, my main card component had too much whitespace at the bottom even though the height of the card was as mentioned in the figma design. After doing some research, i learned how to use css properties like max-height and gap, to place my internal components evenly throughout the card component

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

Any type of feedback is highly appreciated

Community feedback

@Mohamedkabba444

Posted

Wow, your design looks amazing! The visuals and layout are top-notch.

However, I noticed that the design isn't fully responsive. To take it to the next level, consider using flexible units for font sizes, margins, and padding:

  1. rem and em for relative sizing
  2. % for proportional sizing
  3. clamp(), min(), and max() for dynamic sizing

For example:

font-size: clamp(1.5rem, 3vw, 2.5rem); margin: 2em 3%; padding: max(2rem, 3vw, 4rem);

Additionally, using a CSS reset like Andy Bell's Modern CSS Reset can help ensure consistency across browsers.

By incorporating these techniques, you'll:

  1. Improve responsiveness
  2. Enhance accessibility
  3. Simplify maintenance

Your design skills are impressive! With these tweaks, your project will shine on any device.

Resources:

  1. Andy Bell's Modern CSS Reset
  2. CSS Units tutorial by Kevin Powell

Keep up the fantastic work!

0

Kaveesha 40

@kaveeshagim

Posted

@Mohamedkabba444 thank you so much for your feedback! really helpful. i will definitely be using your tips and referring the resources to improve my future work.

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