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 main

MatiX 360

@MatiX221

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

Rio Cantre 9,690

@RioCantre

Posted

Hello there! Nice work with this challenge. Looking at your solution, I would suggest the following for you...

  • Use the same closing tag for every tag, like this one <h3>Equilibrium #3429</h2> . Remove either h3 or h2 and use the same for the opening and closing tags.
  • It's common to use div to wrap the whole content, instead use a specific one like main to wrap the container for readability
  • Include the font-family either inside the body or container tag
  • Add cursor:pointer for the hover state of the design
  • Adjust the padding of the card into 1.5em

Hope this helps and Keep up the good work!

Marked as helpful

0
Web Wizard 5,690

@rsrclab

Posted

Hi, @MatiX221 ~

Congratulate on your solution to the challenge on FM platform. I have studied your work carefully and learned a lot from it.

Here are some of the tips I like to provide.

  • On smaller devices, card goes over screen, and I think max-width: 100% can solve this issue.
  • I suggest you to try transition on hoverable elements like image, heading and creator name.
  • Please try BEM for naming element classes. It will help you a lot on bigger projects.

https://www.frontendmentor.io/solutions/my-first-solution-on-chanllenge-V-4IzAivH

Here is my solution to this challenge, and if it can help you even a bit, it would be happy to me.

Cheers ~

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