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

Design a (nft-preview-card-component) as Challenge with HTML and CSS.

@ar-refai

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

Adriano 34,090

@AdrianoEscarabote

Posted

Hi AbdelRahman Elrefai, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

We have to make sure that all the content is contained in a reference region, designated with HTML5 reference elements.

native HTML5 reference elements:

<body>
    <header>This is the header</header>
    <nav>This is the nav</nav>
    <main>This is the main</main>
    <footer>This is the footer</footer>
</body>

images must have alt text unless it is a decorative image, for any decorative image each IMG tag must have empty alt="" and add aria-hidden="true" attributes to make all the assistive technologies of the Web, as screen reader. Learn the differences between decorative/meaningless images vs important content.

To improve the responsiveness of the project we can do this:

.card {
    max-width: 350px;
}

The rest is great!

I hope it helps... 👍

Marked as helpful

1

@ar-refai

Posted

@AdrianoEscarabote I Think Your Comment will be a big help for me maybe because it will encourage me to check on some points that I had in mind which you just refered to some of it in your comment Thank You very Much

1
Adriano 34,090

@AdrianoEscarabote

Posted

@Abdelrahman-Elrefai no problem!! happy coding!!

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