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 trialNenad Marinkovic
13,310 PointsWhat do you think of this solution?
I just renamed two classes that targets paragraphs (.primary and .secondary) and this is what I did:
.primary {
width: 500px; display: inline-block; padding: 20px; vertical-align: top;
}
.secondary {
width: 500px; display: inline-block; padding: 20px; vertical-align: top;
3 Answers
Emmanuel Molina
9,268 PointsD.R.Y. ! :) .primary, .secondary { width: 500px; display: inline-block; padding: 20px; vertical-align: top; }
But why not use the .col class already in place ?
Herman Wikner
3,303 PointsWhat is your question? :)
Nenad Marinkovic
13,310 PointsI'd just love to hear any advice on how I could do it better or is this good practice. :)
Nenad Marinkovic
13,310 PointsAhh, ok. Thanks a lot Emmanuel!