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 Page using Flexbox

@VivekMadhavan

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?

Learned the basics of Flexbox and used the Clamp function to resize fonts.

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

One of the biggest challenge was effectively resizing fonts for different viewports without using media queries. Although I did the math to resize according to the requirements, I will need more practice to understand how the function works under the hood.

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

  1. Is there an option to resize the section (class = "blog-preview") without explicitly using pixel sizes? (Ex. 385px for width in css)
  2. How do I get the paragraph to continue onto the next line without using ?
  3. Does clamp work effectively across projects and can it be used for responsive design without using media queries?

Community feedback

@Felixdrawe

Posted

Well done! You could add a hover effect for the card as well, when cursor is over the card the shadow starts to move - that's a suggestion of the Figma design file which is a bit hard to see at first.

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