Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Flexbox Box Shadow & Border Radius Google Fonts Live Server

node
P
AM-TECH•210
@ameer112-746dgd
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

What I'm Most Proud Of:

  • Successfully implementing a clean and responsive design that closely matches the given challenge.
  • Using Flexbox to center the QR code card properly.

What I Would Do Differently Next Time:

  1. Improve accessibility by adding aria-labels and ensuring proper contrast for better readability.
  2. Use CSS Grid instead of Flexbox to experiment with different layout techniques.
  3. Optimize the image size to enhance performance.
What challenges did you encounter, and how did you overcome them?

Challenges I Encountered and How I Overcame Them:

  • Centering the Component: Used display: flex to align the card properly.
  • Responsiveness Issues: Applied max-width for the image and rem units for fonts.
  • Spacing & Alignment: Used reset CSS and adjusted padding/margins for balance.
  • Font Selection: Integrated Google Fonts for a better match.
  • UI Refinements: Added border-radius, box-shadow, and subtle color contrasts.
What specific areas of your project would you like help with?

Areas Where I’d Like Help:

  • Responsive Design: Ensuring the QR code component adapts perfectly to all screen sizes.
  • Accessibility Improvements: Best practices for better readability and screen reader support.
  • Code Optimization: Simplifying CSS while maintaining design accuracy.
  • Hover Effects: Adding subtle animations for better user interaction.
  • Best Practices: Feedback on improving structure and maintainability.
Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on AM-TECH's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License