@visualdenniss
Posted
Hey there,
good work with the card! Looks pretty nice and close to the design.
An object-fit shouldn't be necessary at all for this challenge. All you need is a max-width for the box or the img. Rest should be good by itself.
BEM is very common, but there are some more methodologies. There are many approaches actually. You can find an article about that here: https://daverupert.com/2022/08/modern-alternatives-to-bem/
Finally, as for best practice, try to avoid px, but use rem/em whenever possible for more responsiveness + accessibility.
Bonus: A major resource for the accessibility: https://www.a11yproject.com/
Hope you find this feedback helpful!
Marked as helpful
@Ozzy-codes
Posted
@visualdenniss Word! I didn't realize rem/em was interconnected to accessibility. Appreciate your review.