Submitted almost 2 years ago
QR code with CSS and HTML using grid and relative units
@Catherine1998
Design comparison
SolutionDesign
Solution retrospective
Hi! This is my solution using relatives units like em, In this case I use relative units for the fonts also, is this okay? or I have to use absolute units?
Community feedback
- @HassiaiPosted almost 2 years ago
Replace <div class="main-content"> with the main tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
Give .information-content a margin value for all the sides, a text-align: center and a font-size of 0.9375rem/0.9.375em which is 15px. There is no need to give h1 and p a font-weight value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful0
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