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

Flexbox for centering elements

@Ronald116

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


What are you most proud of, and what would you do differently next time?

I'm particularly proud of how the project maintains a consistent and aesthetically pleasing layout across different devices and screen sizes. Using Flexbox and relative units ensured that the design adapts well, providing a good user experience on both desktop and mobile devices.

What challenges did you encounter, and how did you overcome them?

Margins use of flexbox

What specific areas of your project would you like help with?

Responsive design

Community feedback

ysf 120

@youkaa04

Posted

Great job man u're doing right

0

@jovic-djordje

Posted

Hi Ronald, Here are some adjustments that you can add to make this card even better. I hope you will find this helpful 😊: body { display: grid; place-items: center; margin: 50px; font-family: "outfit", sans-serif; background-color: hsl(212, 45%, 89%); }

-From class .container just remove height of 550px. -To class .image add margin-bottom of 50px. -Class .container img just add width od 100% and border-radius of 15px, and you can remove everything else. -For heading class you just need font-weight:700, text-align:center; and font-size:20px. -And message class you don't need width of 300px.

0
Emmanuel 70

@MrNaturi

Posted

It looks pretty good

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