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

@RoyallySweet

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


I found center the content vertically to be the most difficult part. Other than that, fairly easy. But I guess I could say, when I started, I thought I new a good amount, but that all left my head once I began.

Community feedback

@kanishkasubash

Posted

Hi, Kanasia Moore👋. Congratulations on successfully completing the challenge! 🎉

Your solution looks great, and you've done a fantastic job overall! However, here is a small suggestion that might interest you:

To center the content properly and make your layout more flexible, consider using min-height: 100vh. This way, your content will adjust to fit the screen height regardless of the device.

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

I hope you find this helpful! 😄 Keep up the great work! 👍

🖥️Happy coding!

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