What I'm most proud of is how I managed to fully center the component both vertically and horizontally using pure CSS, without relying on any frameworks. I also paid attention to detail by closely matching the design, ensuring clean typography, spacing, and mobile responsiveness.
What I would do differently next time is focus more on accessibility and responsiveness. I would add alt text that is more descriptive, use semantic HTML tags like <figure> or <article> where appropriate, and test on multiple screen sizes. I’d also consider using a mobile-first approach from the start, and maybe explore adding transitions or animations for interactivity.
What challenges did you encounter, and how did you overcome them?One of the main challenges I encountered was centering the QR code card both vertically and horizontally on the page using only HTML and CSS. Initially, I tried using margin and padding, but the layout wasn’t consistent across different screen sizes. After researching and experimenting, I learned how to use Flexbox on the body element with justify-content and align-items to achieve perfect centering.
Another challenge was getting the text under the image to appear truly centered, not just aligned. I realized that using <br> tags was breaking the natural flow, so I removed them and used max-width and text-align: center inside a wrapper div to let the text wrap more cleanly and visually align.
These small layout issues taught me a lot about how HTML structure and CSS flow interact, and gave me confidence to handle similar problems in future projects.
What specific areas of your project would you like help with?I'd like help with improving the responsiveness of the project — making sure it looks great on smaller screens like phones and tablets. While I managed to center everything nicely on desktop, I want to learn how to build with a mobile-first approach and use things like media queries more effectively.
I'd also like guidance on accessibility best practices, such as using more semantic HTML, writing better alt text, and improving contrast for better readability.
Finally, I’m interested in learning how to add subtle animations or hover effects to make the component feel more interactive and polished — without overcomplicating the layout.