Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Ricardo Franco
seal-mask
.a{fill-rule:evenodd;}techdegree
Ricardo Franco
Data Analysis Techdegree Student 16,258 Points

Curious question

I noticed that, at times, Guil adds extra blank lines in the declaration portion of a CSS rule, especially when discussing background and border properties. Is this just a matter of personal preference or is there a visual advantage to separating the code in such a way?

1 Answer

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Could you refer to an example or the source video? I am pretty sure though that it is a personal preference/habit of coding. Every developer picks up their own way of coding, you should find your own and take things from others that you like and stick to it. I read an article about something similar yesterday that mentioned to sticking to one way of coding in this format. It's more important overall though that you focus on quality code! Hope this helps :)