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
Your session has expired please log in again.
Your session has expired please log in again.

Submitted

NFT Preview Card using flexbox

#accessibility
Kiara 130

@kxtara

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 thought that the image hover effect was the most difficult thing about this challenge. If you view my code, would you recommend a different approach or do you think it's okay as it is?

Community feedback

Hassia Issah 50,730

@Hassiai

Posted

To center .card on the page using flexbox, replace the height in the body with min-height: 100vh.

For a responsive content, there is no need for the height in .card and replace its width with max-width

Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

2

Kiara 130

@kxtara

Posted

@Hassiai Thank you for giving me feedback on this challenge it is really helpful. 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