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

@craigdev937

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?

I try to use CSS whenever possible. I wanted to combine Grid with Flexbox. Please leave a comment if you have constructive criticism.

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

I had to search Google for centering the element in the middle of the page with Grid.

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

Any tips on how to improve my Markdown file? Or if you have any constructive criticism.

Community feedback

@lunanguyen

Posted

Your code overall is well-structured and readable. You've used semantic HTML elements appropriately, which is great for accessibility and SEO. Here are some constructive feedback points: Semantic HTML: You've used <main>, <section>, <aside>, and <footer> tags appropriately, which is excellent for semantic HTML. However, consider using more descriptive class names than just "qr" and "qr__image" to improve readability and maintainability. Responsiveness: The layout seems responsive, as you've used max-width for the .qr__image class and max-width for the .qr class. However, you may want to consider using relative units like em, rem, or percentages for font sizes to ensure better scalability across different screen sizes and resolutions. Font Loading: You're importing a Google Font in your CSS file, which is good. However, consider adding a fallback font-family in case the Google Font fails to load for some reason. This ensures a better user experience even if the font doesn't load.

Marked as helpful

1

P

@craigdev937

Posted

@lunanguyen - Hi Luna, thanks for your suggestions. I will look into them going forward. 😉

0

@LJRiveroPastrana

Posted

do you use any framework?

0

P

@craigdev937

Posted

@LJRiveroPastrana - I didn't use any framework like React. I just used Vite for local development.

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