Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Request path contains unescaped characters
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

Basic NFT Preview Site using HTML5, CSS and JS

@dkomeza

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

PhoenixDev22 16,950

@PhoenixDev22

Posted

Hello @d4wk0m ,

I have some suggestions regarding your solution :

  • It's better to have the styling in a separate file.

  • you need to add an interactive element around the image. Anything with a hover style in a design means it's interactive.

  • Section is not meant to be used anytime . section is for a bigger chunk of content often titled by <h2>.

  • For any decorative images, each img tag should have empty alt="" and aria-hidden="true" attributes to make all web assistive technologies such as screen reader ignore those images as in alt="Icon clock" alt="Icon View" , alt="Ethereum"

  • the eye image doesn't really need to be in the html, you could do it with css. If you want it to stay in html it needs to be aria-hidden or role presentation with empty alt.

  • you can use an unordered list <ul> for id="tabela"> and in list item <li> there would be <img> and <p>.

I would do for the avatar's part:

       <div class="paragraph2 ">
                    <img src="./images/image-avatar.png " class="author" alt="Avatar">
                    <p > Creation of <a href="#">Jules Wyvern</a></p>
            </div>

Hopefully this feedback helps.

Marked as helpful

1
Rio Cantre 9,690

@RioCantre

Posted

Hello there! Awesome work with this one. Viewing at your solution, I would recommend the following for you...

  • Wrap the whole content content with specific tag like main for readability
  • The script code shouldn't be at the center of the whole content, rather add it in the bottom.
  • Change the width in the content into width: 320px; and remove width in the container
  • Adjust the padding in .nft rule set with padding: 1.4rem;
  • Make the width in #myImg 100%

Overall, you did good in implementing the design. Hope this helps and Keep it going!

P.S. Consider making another file called CSS for the style properties for future projects.

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