Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

QR code with CSS and HTML using grid and relative units

@Catherine1998

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

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

Hassia Issah 50,650

@Hassiai

Posted

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 helpful

0

@Catherine1998

Posted

@Hassiai thank you

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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