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 Component using CSS Basic

amyrmdhnā€¢ 20

@amyrmdhn

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?

The most proud thing is that I did this by myself.

I just started my journey to become a Web Developer, it's Day 9 of #100DaysOfCode. Today, I decided to review all the lessons from the fundamentals of HTML and CSS and use all the concepts I learned to tackle this amazing challenge!

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

Since I'm just starting my journey as a web developer, I surely encounter many challenges. However, every challenge I face, I can overcome thanks to the learning I've done.

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

For now, I feel quite satisfied with the state of my QR code component coding, but if you have any suggestions, I would greatly appreciate it.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello there!

Congrats on completing the challenge! āœ…

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

0

amyrmdhnā€¢ 20

@amyrmdhn

Posted

Hi @danielmrz-dev

I'm very grateful for the advice and tricks given, I will fix it right away.

If you don't mind, could you give me advice on the semantic elements I've used? Whether they're already appropriate or if there's room for improvement.

.^_^.

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