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

@giaonnq1401

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


Hi guys, I'm back after a hardly semester . Hope to receive your suggestions so that I can be better. Thank you <3

Community feedback

Vanza Setia 27,795

@vanzasetia

Posted

👋 Hi Quỳnh Giao!

🎉 Congratulations on finishing this challenge! I have some feedback on the solution:

  • Accessibility
    • 👍 Good job on making all the page content inside the landmarks.
    • In this case, all elements that have :hover or :active states should be interactive elements, which in this case they should be link elements.
    • Always wrap text content with meaningful tag (p). Never use span or div as the main element that wrap the text content.
    • For any decorative images, each img tag should have empty alt="" and aria-hidden="true" attributes to make all web assistive technologies such as screen reader ignore those images. In this case, all images are decorative except the avatar. For the equilibrium and eye icon, it depends on your markup and what you are trying to achieve.
    • Alternative text for images should be human-readable (informative), not hyphenated.
    • Some resources to learn about the alternative text.
    • You can make the Creation of Jules Wyvern text as the figcaption for the avatar image.
<figure class="creator_ava">
  <img src="./images/image-avatar.png" alt="avatar">
  <figcaption>
     <p>Creation of <span>Jules Wyvern</span></p>
  </figcaption>
</figure>
  • The hr element is a meaningful element. It means a separator. In this case, the content below it also the part of the content above (not separate). So, I would recommend using CSS border-top to make the line.
  • Styling
    • Use rem or sometimes em unit instead of px. Using px will not allow the users to control the size of the page based on their needs.

That's it! Hopefully, this is helpful!

Marked as helpful

0

@giaonnq1401

Posted

@vanzasetia Thanks for your very detailed comment. It's really helpful 😁

0
Vanza Setia 27,795

@vanzasetia

Posted

@giaonnq1401 You're welcome! 👍

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