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 component solution

@spoyodevelop

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?

most of them are breeze, i was not sure i can make this sassy component by my own, still it looks bit off but it looks sassy too.

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

first thing was looking proper line height and letter spacing and most typography stuff. hard to fine tune just look like preview one. second thing that i was really struggled without even noticing my problem was properly set my background cover up all the viewport height and width, i achieved this with manually setting vw, vh to 100.

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

proper typography management and proper way of doing center a div.

Community feedback

P

@webdevbynight

Posted

Some feedback:

  • the class="paragraph" is useless, since you do not use it on your CSS;
  • for the letter-spacing, you can use relative units instead of px;
  • to declare colours with alpha channel, the rgba() function is legacy: you can use rgb() instead, like this: rgb(0 0 0 / 0.4).

The way you centered the div is good. If you want to know all the possible solutions to center a div, check this complete guide on CSS Tricks.

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