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 card

@PriyankaArikatla1205

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

Prince Roy 1,210

@iprinceroyy

Posted

Hey @PriyankaArikatla1205, you did great work but you need to do some more stuff. So here are my points to be focused on

  1. Don't use id as a selector. It's a bad practice. Use class as a selector
  2. img tag must have alt attributes for the people with disabilities.
  3. Hover state is not working. You should add some HTML markup & CSS rules for it. You can prefer my solution for reference.
  4. Always use relative units instead of px for better scalability. 1rem = 16px

I hope you find it helpful & it adds to your learning. Happy coding :)

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