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

NFT card com HTML, CSS e JavaScript

@otaviosouza21

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

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

Congrats on completing your first challenge!🎊🎆

  • Best practice, before moving on to the next challenge, always check your FEM report, to see what is incorrect and update your code with it so that you would not make the same mistake over again. This something that should be done right after submitting your challenge.
  • Your “NFT image” needs an Alt Tag. It should describe what the image is; Assume you’re describing the image to someone over the phone.

More Info:📚

https://www.w3.org/WAI/tutorials/images/

  • Wrap the "NFT image", "Equilibrium #3429" and "Jules Wyvern" in an anchor tags. The anchor tag will allow users to click on content and have them directed to another part of your site.

More Info:📚

MDN The Anchor element

  • The profile image needs an alt tag.It should state the following; “Headshot of -person’s full name-“

More Info:📚

Headshot Alt Text

    • Along with the blank alt tag, you also want to include the aria-hidden=“true” to your “icons” to fully remove them from assistive technology.

More Info:📚

https://www.w3.org/WAI/tutorials/images/

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding! 🎄🎁

Marked as helpful

0

@VCarames

Posted

  • The web development process can be made easier and expedite the process by implementing a CSS Reset.

Here are some examples that you can freely use:

Josh Comeau Reset

Eric Meyer Reset

  • To properly center your content to your page, you will want to add the following to your body(this method uses CSS Grid):
body {
    min-height: 100vh;
    display: grid;
    place-content: center;
}

More Info:📚

[Centering in CSS][https://moderncss.dev/complete-guide-to-centering-in-css/]

  • Change width to max-width in your component’s container to make it responsive.

Marked as helpful

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