Submitted 11 months ago
Product preview card component Solution made by belgacem Dahmen
@Belgacem-Dahmen
Design comparison
SolutionDesign
Community feedback
- @BlackpachamamePosted 11 months ago
Good job!
Here are some comments that may help you:
- Use
min-height
instead ofheight
(with this you are restricting a specific height, it can generate unexpected results) - Use semantic tags such as
main
,footer
,figure
, etc., this helps the accessibility and SEO of the site - Use
gap
in thebody
to separate themain
from thefooter
, example:gap: 20px
- Apply
display: block
to the image to remove that annoying white space
Marked as helpful0 - Use
Please log in to post a comment
Log in with GitHubJoin 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