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

QR Code Responsive Design

oludami23•30
@oludami23
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?

Reflection

  • Proud of: Crafting a pixel-perfect card entirely with HTML & CSS—matching the Figma spacing, border-radii, and color palette exactly. Successfully navigating GitHub Pages deployment andRepo flattening for a full-stack workflow.
  • Next time: Plan folder structure up front to avoid mid-project moves, use CSS custom properties for easier tweaks, and adopt a BEM naming convention for more maintainable CSS.
What challenges did you encounter, and how did you overcome them? 2. What challenges did you encounter, and how did you overcome them?
  • Broken image & path issues: The QR asset wasn’t loading due to an incorrect <img> src. I fixed it by verifying my directory tree and using DevTools’ Network panel to spot the 404.
  • Repo structure & GitHub Pages 404: Nesting files in qr-code-component-main/ caused Pages to 404. I flattened the repo to the root, reconfigured Pages settings, and resolved merge conflicts via Git.
  • CSS fine-tuning: Matching exact padding, font sizes, and shadows took iterative rounds—each time overlaying the design in DevTools until it aligned perfectly.
What specific areas of your project would you like help with?

Accessibility enhancements: Adding ARIA labels, ensuring color-contrast ratios, and keyboard navigation for the card.

  • Responsive refinements: Beyond the 375 px breakpoint—fine-tuning how the card behaves at intermediate widths (e.g. tablets).
  • README polish & submission: Making the README more engaging (GIF demos, badges) and crafting targeted questions for Frontend Mentor feedback.
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 oludami23'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