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 preview card

@Tommaso6468

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


Why is my page slighty taller than my screen? So the scrollbar appears

Community feedback

Ahmed Bayoumi 6,800

@Bayoumi-dev

Posted

Hey Tommaso Congratulations on completing this.

  • The scrollbar appears because the body element has a default margin --> margin: 8px;, I suggest you reset all margins & padding.
* {
margin: 0;
padding: 0;
}

This has become a very popular technique. It removes all default margin and padding for every object on the page.

  • Also, I suggest you change <h3> to <p>. Keep coding👍

Marked as helpful

0
Dust98 130

@Dust1100010

Posted

i recommend you use margin: auto auto in body; to center the card and the scrollbar gonna disappear

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