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 trialJohn Lilley
4,904 Points"Next, float the paragraph with the class 'badge-desc' left and give it a width of 70%."
I need a little help. I'm on the Code Challenge for the Floats in CSS. It says: "Next, float the paragraph with the class 'badge-desc' left and give it a width of 70%."
My code looks like this:
.badge-desc {
float: left;
width: 70%;
}
I can't seem to figure out what's wrong. It keeps telling me: "Bummer! It looks like you didn't add a float to the 'badge-desc' class."
Thanks in advance everyone.
Guil Hernandez
Treehouse TeacherNice work, John Lilley! :)
John Lilley
4,904 PointsJohn Lilley
4,904 PointsUPDATE :: I found what I did wrong. In the previous element, I ended the tag with a ] instead of a }.