Design comparison
Solution retrospective
I'm most proud of being able to complete the challenge mostly by myself. I did need to research certain aspects of CSS that I had trouble with, but overall it was a great experience and feeling. I honestly don't know what I would have done differently next time.
What challenges did you encounter, and how did you overcome them?The first challenge I encountered was how to center my QR card inside the container div. I had trouble figuring this out but found the answer using flexbox, a topic I'm very new to. The second challenge I encountered was importing the correct font. I found the answer using Stack Overflow.
What specific areas of your project would you like help with?None as of now
Community feedback
- @LaStellaaPosted 3 months ago
Good job @dariushill! To position the content in the center of the page there are 2 very easy ways that you can write in the Main block (you need a main in your HTML):
Flexbox: display: flex; justify-content: center; align-items: center; min-height: 100vh; or GRID : display: grid; place-items: center; min-height: 100vh;
Hope this helps, have a good one!
Marked as helpful1@dariushillPosted 3 months ago@LaStellaa Thanks for the feedback. I very new to flexbox and still trying to wrap my head around it. I haven't dabbled in CSS grid yet.
0 - @dev-paulLPosted 3 months ago
Hi, good job for your first challenge 👏
This is good practice to avoid using
px
(especially for font-size) and alsodiv
. They could be <article> or <section>. Your page needs a <main> container as well. You can also includebox-sizing: border-box;
in your reset :)Best, Paul
Marked as helpful1@dariushillPosted 3 months ago@dev-paulL thanks for the reply. I've update my HTML elements to semantic elements. I've also included the
box-sizing: border-box;
0 - @mdnaimurPosted 3 months ago
The solution is made from HTML and CSS. No extra framework and tools are being used. This is raw code. It is the perfect solution. All necessary information is included.
This solution fulfills the requirement.
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