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

QR Code Component Challenge

@Ramkumar492

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@Iamdoncarey

Posted

The design is well placed just that it is not centered at the center of the page

Marked as helpful

0
Adriano 36,930

@AdrianoEscarabote

Posted

Hi Ramkumar B N, hope you're doing well! I loved how your project turned out, but I’ve got a few suggestions that could be useful:

I noticed that your component is not centralized to solve this problem we can do the following:

body {
    background-color: hsl(212, 45%, 89%);
    text-align: center;
    font-family: "Outfit", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

and

.card {
    max-width: 300px;
    /* height: 40%; */
    background-color: hsl(0, 0%, 100%);
    /* margin: auto; */
    border-radius: 5%;
    padding: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

The rest is fantastic.

Hopefully, you'll find it 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