Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Request path contains unescaped characters
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 component using HTML and CSS Flex

@neew18

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


Finally I finished my first challenge on Frontend mentor. Since this challenge does not any advanced implements, I found it quite easy. But I surely have to work on CSS flex more. You can view my code and feel free to leave any advice on how I can improve my code.

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

Replace<div id="card">with the main tag, <h2> with <h1> and <div class="attribution"> with the footer tag to fix the accessibility issues. click here for more on web-accessibility and semantic html

To center #card on the page using flexbox, replace the height in the body with min-height: 100vh.

Give h1 and p the same font-size of 15px, text-align: center, the same margin-left, margin-right and margin-top values. Give p a margin bottom value.

Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

0

@neew18

Posted

@Hassiai thank u so much. I will fix them.

0
Sandro 1,150

@sandro21-glitch

Posted

The design is simple and straightforward, with a clear focus on the QR code component.

The color palette is appropriate, and the font choices are legible, but don't like the layout of the text

Overall, the design seems to be well executed and effective in presenting the QR code component.

good luck

Marked as helpful

0

@neew18

Posted

@sandro21-glitch thank you so much. Can u explain more about the layout of the text u don't like, Please? Because I don't get what you mean.

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