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

Responsive QR code component using HTML and CSS flexbox and mediaQuery

@Jesuis-Jacques

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?

Making the webpage responsive to some selected screen sizes and also doing the whole thing myself without googling.

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

None noteworthy of for now till i see the next challenge.

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

I'd mostly likely need help on finding the right pathway to learn CSS frameworks such as tailwind

Community feedback

MikDra1 6,050

@MikDra1

Posted

To make your card be in the center of the screen view you need to set min-height of 100vh to the container. Then you can place the card in the middle. Here is a code snippet that will help you.

.container {
min-height: 100vh;
display: grid;
place-items: center;
}

.card {
max-width: 37.5rem // 600px
width: 90%;
}

Hope you found this comment helpful 💗💗💗

Good job and keep going 😁😊😉

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