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

Prajwal H Cโ€ข 210

@prajwalhc-18

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


help me write the media querie for the small screens and help to make it responsive

Community feedback

@MelvinAguilar

Posted

Hello there ๐Ÿ‘‹. Good job on completing the challenge !

I have some suggestions about your code that might interest you.

  • Wrap the page's whole main content in the <main> tag.
  • In this challenge, it's not necessary to use media queries for responsiveness. You can directly apply styles like max-width: 400px; to the component. The only issue I see in your solution is that you have inline styles in your HTML (style="width: 22rem; height: 34rem;"), and these inline styles take precedence, potentially overriding all styles from your CSS file. Be cautious with inline styles as they can interfere with the external style sheet.
  • Maintain a clear heading hierarchy, starting with <h1> and progressing through levels (<h2>, <h3>, etc.). Source ๐Ÿ“˜

I hope you find it useful! ๐Ÿ˜„

Happy coding!

Marked as helpful

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