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

Qrcode card

Ibukun450โ€ข 390

@Ibukun450

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Rebecca Padgettโ€ข 1,760

@bccpadge

Posted

Hello @Ibukun450. Congratulations on completing this challenge!!!๐ŸŽ‰

I have few tips you might be interested in to improve your solution.

When people view your website they want to know what the purposes of it and title is very important.

<title>Frontend Mentor | QR code component</title>

  • Be sure to add favicon.io which is located in the images folder of starter files you download to start this challenge.
  • The reason why the image is not showing is due image src path.

Updated the image src path is below and be sure to have alt for accessibility. In future projects, decorative images need aria-hidden:true and the images will be ignored by screen readers.

  • <img src="image-qr-code.png" alt="qr code to FrontendMentor.io">

HTML ๐Ÿ“ƒ:

  • HTML structure needs to be updated
<body>
  <main>
     /*All content goes here*/
  </main>
</body>
  • Every website should have a h1
  • You can change the h3 to h1

More info๐Ÿ“š:

Don't wrap every element in a div> because it doesn't have any semantic meaning at all.

More info๐Ÿ“š:

CSS ๐ŸŽจ:

The media query is unnecessary for this project and max-width: 25rem; makes it responsive. I recommend you use rem or em units because they scale better. Pixels are absolute unit and especially for font-size not a good practice.

More info๐Ÿ“š:

You set the wrong color on the paragraph and can change it to this color: hsl(220, 15%, 55%);

  • Be sure to add a fallback of sans-serif if the font-family:Outfit doesn't load.

Hope you find this useful and don't hesitate to reach out to me if you have any questions

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