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

Responsive card using flexbox and grid.

@felipe-miranda-marreiros

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


It was really fun building this card. This is my first project without tutorial hell.

Community feedback

@Eric-Ferole

Posted

Hi Felipe,

Great job overall. Here's my two cents :

  • You could put a display: block; on your img tag to remove the small gap at the bottom when overing on it
  • You could add à cursor: pointer; to your div.hover-img-icon

I hope this comment helps you.

Keep up !

Marked as helpful

1

@felipe-miranda-marreiros

Posted

@Eric-Ferole thanks for the tips. The display: block worked perfectly!

1
P
AK 6,700

@skyv26

Posted

Hi! Felipe, Really nice job. I checked your design and its responsiveness. I found no issues in your work excepts the report issues. In order to solve report issues do as below:

  1. Add alt text as I saw in your report
<div class="main-img-box">
          <img src="./images/image-equilibrium.jpg" alt="" class="main-img-equilibrium">
          <div class="hover-img-icon">
            <img src="./images/icon-view.svg" alt="More info icon">
          </div>
        </div>

as you can see above main-img-equillibrium image have no alt text. Add alt to solve issue.

  1. Wrap your section code inside the <main> tag and it will solve all your accessibility issues.

I hope it might helpful to you.

Best Wishes

1

@felipe-miranda-marreiros

Posted

@skyv26 Thanks for the tips. I'll fix them.

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