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 Reusing Classes

May Stanley
May Stanley
4,182 Points

I didn't get any border on my preview.

I followed along Guil with t-border class, but why with my preview no border show up? <div class="primary-content t-border"> <div class="secondary-content t-border"> <footer id="main-footer" class="t-border">

and in style.css

.t-border { border-top: 2x solid lightgrey;

3 Answers

Glenré Charl Labuschagné
Glenré Charl Labuschagné
23,204 Points

Hi May,

You are almost there—watch out for typos: especially in units of measurements which are quick to be mistyped.

Good luck

Rob Smith
Rob Smith
4,222 Points

I've been known to do that too and it can get frustrating. When this happens and I can see that there are no changes to my live view I go right back to the source code and CSS file to see where I went wrong.

Stay vigilant and go slow and then speed will increase later. I find that I'm rushing myself when I'm coding.