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

Blog Preview Card

foo-lin-xuan•30
@foo-lin-xuan
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 am still learning and for this challenge, I tried a few things for the first time:

  1. Using the Figma file
  2. CSS custom properties
  3. Media query

Setting custom properties for the colors and text styles helped tremendously when working with the Figma file.

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

I couldn't change the font size for mobile screen initially. I thought setting font-size at body would do the trick since I have set the text styles in rems. Instead, I needed to set the font-size at :root.

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

I would appreciate feedback on any flaws in my code and suggestions for a better implementation. What would you have done differently for this challenge?

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 foo-lin-xuan'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