Design comparison
SolutionDesign
Solution retrospective
Can I receive some feedback whether I need some changes with how I write the HTML and CSS ? Thank you!
Community feedback
- @denieldenPosted about 2 years ago
Hi Marco, congratulations on completing the challenge, great job! π
Some little tips for optimizing your code:
- add
main
tag and wrap the card for improve the Accessibility - add descriptive text in the
alt
attribute of the images - use
p
for the text of card instead ofh4
- add
min-height: 100vh
tosection
tag because Grid aligns child items to the size of the parent container - remove
margin-top
fromcard
class - add
transition
on the element with hover effect - instead of using
px
use relative units of measurement likerem
-> read here
Hope this help! Happy coding π
0 - add
- @hyrongennikePosted about 2 years ago
HI @marconarca,
Nice job on the completing the challenge
The card looks slightly off center you can a
min-height: 100vh;
to your section to place it in the middle of the page.0
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