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, usando CSS y Flex-box

@hernannicolaspereyra

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


me resulto mas dificil darle los estilos tal cual a la imagen a los elementos parrafos

Community feedback

@MaximilianoDanielGarcia

Posted

Hola Hernán,

Felicitaciones por terminar tu primer desafío! Te dejo algunos consejos para tener en cuenta para éste y futuros desarrollos.

  • Lo primero y principal es centrar el componente. Existen varias maneras de hacerlo, las más famosas son Flex Box y CSS Grid. Para este caso yo haría algo así:
body {
   display: grid;
   place-items: center;
   min-height: 100vh;
   backgroud: #D6E1F0;
}
  • Luego, en tu componente agregaría esto:
.container {
    background-color: white;
    padding: 15px 15px 30px 15px;
    border-radius: 15px;
}

Después que apliques estos estilos va a estar más parecido al diseño. Espero te sirva para seguir aprendiendo día a día. Saludos!

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