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

Mobile-First Design using flexbox

@PrestonLTaylor

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?

Next time I would try to do the solution mainly grid or without using flex or grid entirely.

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

The main areas of feedback would be appreciated for how I implemented my CSS styles.

Community feedback

Alex 3,130

@Alex-Archer-I

Posted

Hi!

Congrats with your first challenge, that one looks cool =)

Here a few tips.

It's a bit more convenient and more predictable to use vh for the height property of the body. vh stands for 'view height' and depends on screen's height, so, 100vh is full screen height.

Also it's better to use min-height for body in case if content will be longer that the screen. That could be said about height of the container - better not to specify it. In real projects content may change time to time, so let the content define it's container height.

Oh, and flex have a gap property too =)

Hope that could help, keep doing =)

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