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

Simple solution using only CSS Flexbox

P

@gdsimoes

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 finished this project a long time ago, so I don't feel particularly proud. Next time I will use Prettier for formatting my code and Josh Comeau's CSS reset instead of the CSS remedy.

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

I don't remember any.

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

This project for me was mainly about learning the workflow of submitting solutions and so on. I don't think I need any help in this one.

Community feedback

mateusb12 50

@mateusb12

Posted

Ficou excelente parabéns, não tinha pensado em usar variáveis para as cores

1
luis 10

@luispinto53

Posted

Estuve viendo cual es el inconveniente que la solución queda desfasado en el eje Y de la pantalla con respecto al diseño, y creo que la solución podría ser esta.

  1. En el html
        <div>
        <img src="images/image-qr-code.png" alt="QR Code">
        <h1>Improve your front-end skills by building projects</h1>
        <p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p>
    </div>
    </main> ```

2. En el css
```body {
    background-color: var(--light-gray);  
}
main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
div {
    display: flex;
    flex-direction: column;
    width: var(--main-width);
    height: var(--main-height);
    padding: 16px;
    background-color: white;
    text-align: center;
    border-radius: 20px;
} ```
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