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 trialAjay gaundar
1,595 PointsWhy 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.
Alexander Logrono
2,841 PointsYeah, 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
1,035 PointsMake 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.
Jessica Donley
3,967 PointsTHANK YOU!
Arcel Derosena
Front End Web Development Techdegree Student 5,241 Pointssame problem https://w.trhou.se/6fzm5rf1iw
Steven Parker
231,269 PointsYou may have the same symptom, but your cause could be different. You should start a fresh question and post your snapshot there.
Arcel Derosena
Front End Web Development Techdegree Student 5,241 PointsI got it now, I was suppose to space the curly brackets twice, not once.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsIf 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.