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

product preview

fazza 240

@erwinfazza

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

faizan 2,420

@afaiz-space

Posted

hey

  • use flex or grid to align the object in the center of the body
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
  • remove the margin and width from the container class.
  • remove the anchor tag and add display: flex; align-items: center; in the button element.
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