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 challeng

Mathias Dell'Osaโ€ข 210

@MathiasDWaterlaw

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I had some difficulty creating the "image:hover" effect. But I think I succeeded. Any advice is welcome

Community feedback

@MelvinAguilar

Posted

Hello there ๐Ÿ‘‹. Good job on completing the challenge !

I have some small suggestions about your code that might interest you.

  • Consider using a margin: 0 in the body to eliminate the default margin of around 8px applied to the body element, which can cause an unwanted scrollbar on some desktop devices.
  • Additionally, for icons, you can use empty alt (alt="") attributes to prevent them from being pronounced by screen readers

    <img src="./images/icon-clock.svg" alt="" class="icon">
    
  • Use the <footer> tag to wrap the footer of the page instead of the <div class="attribution">. The <footer> element contains information about the author of the page, the copyright, and other legal information.

I hope you find it useful! ๐Ÿ˜„ Above all, the solution you submitted is great!

Happy coding!

Marked as helpful

0

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