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 HTML & CSS

marionhacotā€¢ 10

@marionhacot

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'm proud to have finished my very first project on Frontend Mentor!

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

It took me some time to deploy my project, create a new repo and have a link to share, because I wanted to use Vercel for the first time. I already use GitHub Pages for my Portfolio and didn't want to use the same link for my Frontend Mentor projects.

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

Overall, I'd like to know if I rendered the project as expected, and if my url to see it live is working.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello, @marionhacot!

Your project is looking fantastic!

I'd like to suggest a way to make it even better:

  • Using margin isn't always the most effective method for centering an element.

Here's a highly efficient approach to position an element at the center of the page both vertically and horizontally:

šŸ“Œ Apply this CSS to the body (avoid using position or margins in order to work correctly):

body {
    min-height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
}

I hope you find this helpful!

Keep up the excellent work!

Marked as helpful

1

marionhacotā€¢ 10

@marionhacot

Posted

@danielmrz-dev thank you for your comment and suggestion, I'll try it next time!

1
totorocodā€¢ 70

@totorocod

Posted

That's awesome that you completed your first project on Frontend Mentor! It's a big achievement.

For next time, you might consider checking the dimensions and spacing more closely to match the design. Overall, it was rendered beautifully on your live site in Vercel.

1

marionhacotā€¢ 10

@marionhacot

Posted

@totorocod 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