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 with tailwind

#tailwind-css

@beyzarslann

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


While writing this code, I had the most difficulty in the size adjustment and responsive parts.

Community feedback

@MelvinAguilar

Posted

Hello there 👋. Good job on completing the challenge !

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

  • For a responsive and resizable component, consider using max-width for the width of the component with max-w-[320px](max-width: 320px;)
  • Use min-h-screen (min-height: 100vh) instead of h-screen. Setting the height to 100vh may result in the component being cut off on smaller screens, such as a mobile phone in landscape orientation.
  • Use semantic elements such as <main> and <footer> to improve accessibility and organization of your page.

I hope you find it useful! 😄

Happy coding!

Marked as helpful

2

@beyzarslann

Posted

Thank you for the information you provided. @MelvinAguilar

0
Bn-Bushra 290

@Bn-Bushra

Posted

Well done These are things I think you should note in this solution:

  • Removing the attributions before submission.
  • Editing the template README before pushing to GitHub.
  • I feel the project is pretty basic for the tailwind framework. Good understanding and use of CSS will make the usage of such framework a work over, and makes us better understand how it works.
  • Just structure the elements semantically as possible and make the class names descriptive as possible.
  • So that you will be able to add styles to the target elements easily.

Marked as helpful

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