NFT Preview Card Component using HTML and CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @D3press3dd
Amazing job, for fix the accesibility issues just add a
main
container and add arole
to the divs happy coding if you dont know how to do it you can download an extension calledaxe accesibility
Marked as helpful - @denielden
Hi Dheeraj, congrats on completing the challenge!
I had a look at your solution and I have a few suggestions for you:
- for improvide accessibility wrap the content page into
main
tag - Try use Flexbox for center the card, read here -> flex guide
- set
heigth
of body to100vh
because Flexbox aligns to the size of the parent container. - remove all
margin
from card - try to adding a little
transition
on the element with hover effect ;)
Hope this help :) and happy coding!
Marked as helpful - for improvide accessibility wrap the content page into
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