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 CSS Basics (2014) Basic Selectors Class Selectors

There is a bug where you are to put your .primary-content into the div element the border does not show up.

pretty much whats in the title you guys should give it a look.

Steven Parker
Steven Parker
229,732 Points

Did you discover this in your workspace? If so, make a snapshot of your workspace and post the link to it here.

When you declare it in the div, make sure you do not put the dot in primary-content in there. This is how you should do it: <div class="primary-content">

The dot before the class name is only used in CSS to tell it that it's a class name.

1 Answer

I had this issue occur however it seemed to be a browser error and slightly my own as the border is there, it just blends with red border - due to it being 2px.

Try changing the size value to something like 20px (for testing purposes) and see if it appears.