Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Responsive Blog Preview card using HTML and CSS

Tunde Ogunde•170
@tundeogunde
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?

I'm glad to discover how to import and use a google font in my propject. I also discovered the how to use clamp() to define font-size and make it responsive according to the size of the view-port. CSS just makes things a lot easier.

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

One challenge was how to make the text responsive according to the viewport size.... and also creating a shadow for the card. I consulted W3Schools (https://www.w3schools.com/cssref/index.php) and chatgpt told me about using the clamp() value to make the font-size of the text responsive.

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 Tunde Ogunde'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

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