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

Single price grid solution

@feroztia

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

hitmorecode 6,230

@hitmorecode

Posted

Nice well done. Just one tip and a few things you can fix

  • For good practice it's best to always add some css reset. Here is a simple css reset
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  • To place the card in the middle of the page make these changes in your css
body {
    padding: 20px;
    /* add these lines */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

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