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

I used css and google fonts and html and margin auto and width percent

#accessibility
rufusshakin300β€’ 10

@rufusshakin300

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


What are you most proud of, and what would you do differently next time?

I would improve html semantics

What challenges did you encounter, and how did you overcome them?

I find the Figma design and fonts are very helpful and put my basics in this projec to obtain desired result

What specific areas of your project would you like help with?

Html,Css,I learn how to use figma , google font

Community feedback

Olaniyi Ezekielβ€’ 7,500

@Ezekiel225

Posted

Hello there πŸ‘‹ @rufusshakin300.

Good job on completing the challenge !

Your project looks really good!

I have suggestions about your code that might interest you.

πŸ“ŒUsing margin is not the best option to center an element. Here's a very efficient (and better) way to place an element in the middle of the page both vertically and horizontally:

πŸ“Œ Apply this to the body element (in order to work properly, don't use position or margins):

body {
    min-height: 100vh;
    display: flex;  /* it works with grid too  */
    justify-content: center;
    align-items: center;
}

I hope this suggestion is useful for future projects.

Other than that, great job!

Keep up the excellent work and continue to challenge yourself with new projects. Your progress is impressive, and each project is a step forward in your front-end development journey! πŸš€πŸŒŸ.

Happy coding.

Marked as helpful

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