Design comparison
Solution retrospective
I'm proud of successfully combining HTML and CSS to build a functional and visually appealing QR code webpage. The structure of the HTML and the use of CSS to create a clean, responsive design is something to be proud of, especially in balancing simplicity with functionality. It's also a great accomplishment to see the project through from start to finish, applying learned concepts in a real-world application.
What I Would Do Differently Next Time: Next time, I would focus more on making the design even more responsive and explore advanced CSS techniques like Flexbox or Grid for better layout control. I would also look into adding JavaScript to make the QR code interactive, such as dynamically generating codes based on user input. Additionally, Iād invest more time in testing the project across different browsers and devices to ensure it looks and works consistently everywhere.
What challenges did you encounter, and how did you overcome them?-Positioning Elements Accurately: Aligning the QR code and text on the page was tricky, especially when i was trying to make the design responsive across different screen sizes.
How i Overcame It: I used CSS properties like margin, padding, or layout tools such as Flexbox or Grid to fine-tune the alignment. I also tested the design across various devices or screen sizes to ensure it displayed properly.
-Ensuring the page looked good on both large screens and mobile devices also posed a challenge.
How I Overcame It: By implementing media queries in my CSS, I was able to adjust the layout and styling depending on the screen size, ensuring a smooth experience for users on all devices.
- Getting the exact look and feel with CSS, such as colors, spacing, or font styles, might have required trial and error.
How You Overcame It: I relied on browser developer tools for live testing and tweaking of my CSS. This allowed me to see real-time changes and adjust styles until they met your desired result.
Community feedback
- @MikDra1Posted about 2 months ago
I encourage you to use this technique to make the card responsive with ease:
.card { width: 90%; max-width: 37.5rem; }
On the smaller screens card will be 90% of the parent (here body), but as soon as the card will be 37.5rem (600px) it will lock with this size.
Also to put the card in the center I advise you to use this code snippet:
.container { display: grid; place-items: center; }
Hope you found this comment helpful ššš
Good job and keep going ššš
0
Please log in to post a comment
Log in with GitHubJoin 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