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-main2

Yous 170

@yousra10

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


Hi everyone!!!

I just completed that challenge, I find it easier than the others. Please, if there is a point that I have to change, tell me. Thank you in advance.

Happy coding!!

Community feedback

@lidiakrajewska

Posted

Hi! The image doesn't show up, you need to change the file path to ./image-qr-code.png :) If you'd like to center the component both vertically and horizontally the easiest way is to use flexbox. You could wrap container div in another div or just add this code to main:

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;

And then you need to remove margins from container. Happy coding! :)

Marked as helpful

0

Yous 170

@yousra10

Posted

@lidiakrajewska Hi Lidia, thank you very much for your suggestions. It's very helpfull! Happy coding !!

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