Submitted over 1 year agoA solution to the QR code component challenge
QR-code scan template using simple "HTML" and "CSS"
@Subhi-05

Solution retrospective
This is my first frontend mentor challenge. I would welcome all your feedback and ideas so that I can learn new things.
Feel free to update your feedbacks!! Thank you.
Code
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MelvinAguilar
Hello there 👋. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML 🏷️:
- Wrap the page's whole main content in the
<main>
tag.
CSS 🎨:
- Instead of using pixels in font-size, use relative units like
em
orrem
. The font-size in absolute units like pixels does not scale with the user's browser settings. Resource 📘.
- Avoid using
position: absolute
to center an element as it may result in overflow on some screen sizes. Instead, utilize the flexbox or grid layout for centering. Get more insights on centering in CSS here here 📘.
I hope you find it useful! 😄 Above all, the solution you submitted is great!
Happy coding!
- Wrap the page's whole main content in the
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