Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Blog Preview Page using Flexbox

Vivek Madhavan•20
@VivekMadhavan
A solution to the Blog preview card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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?
Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Vivek Madhavan's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License