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

HTML Introduction to HTML and CSS (2016) Make It Beautiful With CSS Select and Style by Class

Why doesn't my border show up?

Ever time i follow the video exactly as they do it my border doesn't show up at all. I did the text center but after that I try to make a border and nothing appears.

Steven Parker
Steven Parker
231,269 Points

If you show your code, someone can take a look and perhaps identify the issue. Even better, make a snapshot of your workspace and post the link to it here.

Alexander Logrono
Alexander Logrono
2,841 Points

Yeah, we would need to see your code to help you out. But the usual cause is simple syntax mistakes like leaving out a semi-colon or a colon. Try going over your code very carefully.

h1 {
  border: red solid 10px;
}

As you can see you will need to make sure that between the property and the value you need a colon ( : )and then after the last value, you need a semi-colon ( ; ). Also, spelling is important!

Good luck! Let us know if you figured it out!

3 Answers

kingdavid
kingdavid
1,035 Points

Make sure that you always hit file - save all. When working with both the html file and the css file I find that hitting file - save doesn't push forward the changes. I am guess since you are working between both tabs then you need to hit file - save all in the workspace tool bar. Hope this helps.

THANK YOU!

Steven Parker
Steven Parker
231,269 Points

You may have the same symptom, but your cause could be different. You should start a fresh question and post your snapshot there.

I got it now, I was suppose to space the curly brackets twice, not once.