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

Desktop first solution using css-grid and flexbox

@Abu-Sman

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


Can I please get a feedback on my hover and active state?

Community feedback

T
ApplePieGiraffe 30,545

@ApplePieGiraffe

Posted

Hi, Sulaiman! 👋

Very sorry for my late reply! 😅 Been a bit caught up with school and things recently! 🏫

Great work on this challenge! 👍 Your solution looks pretty good! 😀

A couple of small things I'd like to suggest are,

  • Writing some more descriptive text for the alt text of the main image of the card component. "The Preview Card Component Image" doesn't really say anything about what the actual content of the image is to people using screen readers. 😉
  • Wrapping the heading of the card component in a heading tag and perhaps using an article tag for the entire component (since it is a self-contained element that makes sense without additional context from a parent component). This'll just bump up the semantics of your HTML a little. 😄

Again, these are just small points. Overall, you've done well on this challenge! 👏

Hope you find this helpful. 😊

Keep coding (and happy coding, too)! 😁

Marked as helpful

2

@Abu-Sman

Posted

@ApplePieGiraffe Thank you so much!

1

@Baqtiyar

Posted

Hover is working nice but the there is lots of CSS code you have used, try to use less code with which would be more efficient, I give this advice to myself as well.

Marked as helpful

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