QR Code Component Solution

Please log in to post a comment
Log in with GitHubCommunity feedback
- @mohamed8eo
⚠️ Layout Alignment Tip
Hey there,
Great job on the layout—it’s looking really good! 👏
However, there's a small alignment issue you might want to address.You're currently using the following CSS:
body { justify-self: center; }
But since the screen width for this challenge is 1440px, this won't properly center your cart on the page. Instead, you should use:
body { justify-content: center; }
Using justify-content: center on a flex container ensures that your content is centered horizontally within the body. This adjustment prevents the cart from sitting on the left side of the screen and makes the layout look much more balanced.
Keep up the great work! 👍 Write this with Markdown
Marked as helpful
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