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

iormes 30

@iormes

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


Is there a specific way that css selectors or properties should be ordered?

Community feedback

P

@DevDan21

Posted

I think in some cases they do matter however I'd put more importance on making sure that you're selectors and properties are well organized. It makes it easier for you to look it up when you need to make a correction or change a property as well as for others that you might be collaborating with.

This is the way in which I work and strive to get better at.

Hope this helps!

1

@ExpertoMontanero

Posted

@DevDan21 You are right but there a common thinking that you should organize you css properties in groups like: positioning, coloring, animating e.t.c or you can place them in alphabetical order. I am personally bigger fan of the first option.

Hope I helped. :>

2
P

@DevDan21

Posted

@ExpertoMontanero thanks for the tip. I’ll give it a try in future projects. It might be something that will better serve me!

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