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

yasโ€ข 390

@yosrajalali

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


if there is any suggestion to make it better feel free to share it with me.๐Ÿ˜Š

Community feedback

Ferโ€ข 3,970

@fernandolapaz

Posted

Hi ๐Ÿ‘‹, just a couple of suggestions:

  • When there is a hover state over an element it means that it is interactive, so there must be an interactive element around it (like a link or a button). So, we should use a <a> or <button> to wrap the image (depending on what happened when clicking on it). Also 'Equilibrium #3429' and 'Jules Wyvern' should be wrapped with the <a> tag.
  • The icons are decorative images and therefore need an empty alt attribute to be ignored by a screen reader.

I hope itโ€™s useful ๐Ÿ™‚

Great solution.

Regards,

Marked as helpful

0

yasโ€ข 390

@yosrajalali

Posted

Hi๐Ÿ‘‹ About interactive elements I figured it out after submitting my solution by checking others' solutions(lazy enough to change it right know๐Ÿฅฑ). but I didn't know about empty alts. I appreciate your help so much๐Ÿ™. @fernandolapaz

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