@prashantrajchSubmitted about 19 hours ago
What are you most proud of, and what would you do differently next time?
I'm most proud of how clean and structured the layout turned out using just basic HTML and CSS. It was satisfying to recreate the design accurately and apply Flexbox to center the component both vertically and horizontally.
I kept the code simple and readable
I used the Outfit font via Google Fonts to match the design
I applied shadows and spacing carefully to improve the visual appeal
Next time, I would:
Make the layout more responsive by adding media queries
Optimize the image and use better alt text for accessibility
Consider using a CSS preprocessor like SASS for better scalability
Include a README.md file in the repo with setup instructions and a live preview link
What challenges did you encounter, and how did you overcome them?
One of the main challenges I faced was centering the QR code card perfectly in the viewport. At first, I tried using margin-based approaches, but they didn’t work well across different screen sizes.
To overcome this, I switched to using Flexbox, which made vertical and horizontal centering much easier and more reliable.
Another challenge was ensuring the spacing and sizing matched the design exactly. I used padding, gap, and border-radius carefully and frequently referenced the design preview to keep everything aligned.
What specific areas of your project would you like help with?
I'm looking for feedback on the following areas:
Responsiveness: How can I improve the design to make it more responsive on smaller and larger screen sizes without breaking the layout?
Accessibility: Are there any accessibility improvements I can make? For example, is there a better alt text I should use for the QR code image?
Code structure: Is there a more efficient or cleaner way to organize my CSS or HTML for better readability and scalability?
Styling consistency: Does the spacing, typography, and overall visual balance look good? Any tweaks you would suggest?
Best practices: Are there any modern CSS practices I’m missing that could improve the project?