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 Solution using HTML and plain CSS

#accessibility
Olu Marshal• 20

@Olumarshal

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Please kindly take a look at my solution and give some feedbacks, advice or tips. I encountered some difficulties trying to make it responsive on different screen sizes but i'm not sure if i did a great job. please feel free to share your thoughts and opinions as it will help improve my skills. Thanks

Community feedback

Jorge• 130

@JorgeIturrieta

Posted

Hi MarShal you have done a great job! Let me give you some advices.

  • There are many ways to center a element. One of them (easy way) is in your body element:
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;

And Remove this code of your .main-cnt

position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
     height: 475px
  • You don't need add height in your card (main-cnt class). This element grow up when you put content inside.

You can learn more about flex Box here : Concepts of flexbox And if you want, you can learn about flexbox playing a game: Flexboxgame

Marked as helpful

0

Olu Marshal• 20

@Olumarshal

Posted

@JorgeIturrieta Thanks a lot for your feedback. I'm very grateful.

1

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