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 trialblerton islamaj
Courses Plus Student 819 PointsThe top bar won't show up after changing the value of pixels!!!
I already changed the value of pixels related to top bar but after refreshing the page , the top bar disappeared!
3 Answers
Billy Bellchambers
21,689 PointsOnly issue I can see with the code you have provided there is the units on the border width.
To my knowledge 100spx doesn't mean much in css. Please make sure this is correct and either pixels (px) or or appropriate unit such a em or rem.
Hope that helps
html {
border-top: 100px solid #8a85a5;
}
Should do the trick
Luis Roman
1,174 PointsMaybe the hexadecimal color doesnΒ΄t exist.
Nate Drexler
1,883 PointsHi there. I changed the top bar pixels and color and now my top bar has disappeared.
html { background-color: gray; border-top: 20px solid #black;
}
Billy Bellchambers
21,689 PointsBilly Bellchambers
21,689 PointsBlerton it would be helpful if you can include some code for us to review.
Either share a snapshot if working on workspace (icon in top right and share link).
Or post code on here using the Markdown sheet instructions at bottom of this page like so.