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

P
Célia 30

@Celia-HC

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?

NA

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

Finding a shadow matching the design : I used a light grey with a lot of transparency.

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

I have a small space between the image and the with the text. It's not a margin nor a padding and I don't know how to explain it. When I inspect, I don't see where it comes from.

Community feedback

CaveCodes 70

@CaveCodes

Posted

*Do a modern CSS reset to fix the spacing issue.

  • Use https://www.cssmatic.com/box-shadow to fine-tune the shadows *When width gets below 320px when inspecting, the text gets cut off.
  • Do not limit the size of the container/QR code with pixels. Otherwise it cannot expand. Use rem units instead when appropriate.
  • move
0

Account Deleted

It looks great! But it's not fully responsive for the smallest of screens. Since you've set a with and height in pixels, the card is wider than the screen on screens smaller than 320px wide. The margin outside the card also disappears on screens smaller than 340px wide.

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