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

@suraj-pradhan

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 am most proud of my debugging skills

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

I faced challenges while positioning the circle and working with svg's. I overcame it by looking at MDN Documentation.

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

I faced challenges while positioning the circle and working with svg's. I overcame it by looking at MDN Documentation.

Community feedback

@saularanguren

Posted

Greetings, your solution is really impressive, but you can improve it by adding these lines of code in the styles.css file

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #d5e1ef;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100vh;
}

but you have to remove this code block

.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 152px;
}

happy coding

1

@suraj-pradhan

Posted

@saularanguren I will definitely try

1

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