QR code component solved using html div and CSS grid and media queries
Design comparison
Solution retrospective
anything you can imagine, you can achieve in frontend development
What challenges did you encounter, and how did you overcome them?font usage had to check online
What specific areas of your project would you like help with?a more simple approach to solve this.
Community feedback
- @GSida015Posted 6 months ago
Hello👋🏼!!!
I've reviewed your code and I have some advice for you!
1.The gap between the img and text containers is too high... it should be
16px
or1rem
.2.In the style CSS, you have
padding: 0.75rem 0.75rem;
. The right value includes the up and down setting, and the second value is for right and left. Instead of repeating the value0.75rem
twice, you can just writepadding: 0.75rem
;. It's better. If you don't understand, you can also type 4 values like (it's just an example):margin: 24px, 28px, 11px, 10px;
. The first value is up, the second value is right, the third value is down, and the fourth value is left.3.And also make sure that the card width is equal to
320px
and height to497px
.I hope this comment helped you! I would appreciate it if you marked this as helpful.
GOOD LUCK!
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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