Blog Preview Card

Solution retrospective
I am still learning and for this challenge, I tried a few things for the first time:
- Using the Figma file
- CSS custom properties
- 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.
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?
Please log in to post a comment
Log in with GitHubCommunity 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