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
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'm not sure if its fully correct or not

Community feedback

girldocode 260

@girldocode

Posted

it looks really nice. just apply border-radius to the image.

Marked as helpful

1

@zakura1x

Posted

Thanks @girldocode will update the code

1
P

@Islandstone89

Posted

Hi, yes it looks good, but there are a few things you should improve.. :)

HTML:

CSS:

  • It's best practice to link to the fonts in the HTML <head> instead of importing it in the CSS.

  • Height on the body should be min-height.

  • Remove all fixed widths and heights. You rarely want to set a fixed size.

  • Remove position: relative and overflow: hidden on the .container

Marked as helpful

0

@zakura1x

Posted

HTML

  • Should I remove the container div if im gonna use a main tag?

CSS

  • Will update the code with these thanks but I think the overflow does the job for fixing the border-radius. When i remove it. It made the container look like a square
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