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

P

@dominguetigs

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?

Structure using only HTML, Javascript and CSS.

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

Responsive layout; Styles with CSS.

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

How to create responsive layouts using pure CSS.

Community feedback

Alex 3,130

@Alex-Archer-I

Posted

Hi!

To make your .card more responsive you can add width: 95%. It's already have max-width property so when screen size will be lesser than 320px it's width will set to 95%. Also you can get rid of .container tag and add flex and padding to .card - the fewer tags the better =)

I can recommend you to use rem values for font size (it's the main purpose of those values, after all) and use min-heigh instead height for body tag (in case if user's screen will be smaller than content of the page).

Overall, you did quite a good job, well done =) Good luck =)

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