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 trialSandeep Krishnan
9,730 PointsI tired it this way - I ignore the col ( class). I got the same result...Did i do anything wrong ?
.primary { width: 50%; float: left; padding: 20px; } .secondary{ width:50%; float: left; padding: 20px; }
Ronnelle Torres
5,958 PointsRonnelle Torres
5,958 PointsWhat's the project about? It seems that the col class was added so that you don't have to repeat yourself. Instead of writing the class declarations for both element with the class primary and secondary.. You can just add the class col for both element. I think there's nothing wrong with what you dd but it's best to practice DRY. :)