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

Used HTML and CSS, learned about flexbot and other things

@sirargill

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


How to get the exact value of the width and length of the given design. Any suggestion will be welcomed.

Community feedback

PhoenixDev22 16,950

@PhoenixDev22

Posted

Hello @sirargill,

I have some suggestions regarding your solution:

  • The images don't need filled alt . They are decorative images, so alt attribute should be left intentionally blank. You can optionally add aria-hidden or role presentation to ensure the images are always ignored by screen readers ANDavatar's one and image-equilibrium.jpgshould not be empty and should be descriptive . Read more about decorative and informative images .

  • You can simply use unordered list <ul> to wrap class="side-align’ and in each list item would have <img > and <p> `.

  • You don’t need <hr > , you can use border-top for the class="side-align .

  • You can use more html semantic tags like <figure> <figcaption > for the avatar part.

  • Add the hover effect on the image . (The eye image is missing)

Hopefully this feedback helps.

Marked as helpful

0

@sirargill

Posted

@PhoenixDev22 thank you for your kind suggestions, I will make sure to implement those.

0

@sb101-beep

Posted

Try styling .container with flexbox centering.

0

@sirargill

Posted

@sb101-beep Thank you for your suggestion.

0

@jhernar

Posted

you can try giving a min-height of 100vh in the body section

0

@sirargill

Posted

@jhernar Thank You for the kind suggestion.

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