Submitted over 1 year agoA solution to the Blog preview card challenge
Blog Preview Card
react, vite, accessibility
@Saekit

Solution retrospective
What are you most proud of, and what would you do differently next time?
I am most proud of creating re-usable components. Next time I would like to try using the styled components library.
What challenges did you encounter, and how did you overcome them?At one point I was having trouble getting the article image to stay within the parent container div without overlapping. I was able to overcome this issue by googling a solution and found that I should use the object-fit property with max-height and max-width set to 100% to keep the image contained within its parent container.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Raquel'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