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
Patrick DeSisto
3,007 PointsCSS Stage 6 Question 4-4
My Question:
It looks like we need to clear our floats. In the HTML file, add the class group to the div with the class badge.
My Answer:
<div class="badge" class="group">
(EDIT. Click edit and see what I changed to make your code appear. )
Whats Wrong???
2 Answers
Erik McClintock
45,783 PointsPatrick,
a) I've edited your code so that it will show, using Markdown
b) The problem in your code is that you're creating a second class attribute, which is erroneous. You simply want to add a second class value.
Don't do this:
<div class="badge" class="group">
Do this:
<div class="badge group">
Make sure you add spaces in between your classes, and you can add as many as you want.
Erik
Jovanny Elias
16,204 PointsHere is a quick guide on displaying your code.
On a Mac the back tick is on the bottom
Erik McClintock
45,783 PointsGreat gif!

Nick Ocampo
15,661 PointsNick Ocampo
15,661 PointsHey Patrick. I can't see your code. Would you mind posting it again?
Checkout the Markdown Cheatsheet below to see how you can format your code in forum posts.