Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

NFT-preview-card-component-challenge-hub

@barbara-musial

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
David Turner 4,110

@brodiewebdt

Posted

You did a good job on this. everything looking like the design. You can remove the height from your card as it is not needed. If you check it in devTools you will see all it does is move the attribution div up and down a few pixels.

If you use this code on the body tag it will center the content in the center of the screen: display: grid; place-items: center; min-height: 100vh;

Wrap your shadow-light div in a Main tag and change the attribution div to a Footer and it will clear the accessibility warnings.

Download AXE DevTools and you can clear accessibility warnings while you code. https://www.deque.com/axe/devtools/

Hope this helps.

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

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