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

HTML, CSS, flexbox CSS

#bem
wdavidlbelloโ€ข 10

@wdavidlbello

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! I would like your feedback about my challenge and the way I've solved it. I used only html and css for this time cause I found it simple to do.

1.What do you think?

2.What did you find difficult while building the project?

Community feedback

Olaniyi Ezekielโ€ข 7,500

@Ezekiel225

Posted

Hello there ๐Ÿ‘‹ @wdavidprogrammer.

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.

1

wdavidlbelloโ€ข 10

@wdavidlbello

Posted

@Ezekiel225 thank you my friend I've checked that. I'm a beginner and you encourage me to continue this carrier.

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