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 trialEric Marhefka
1,848 PointsBummer! Remember, to select an ID, use the '#' character followed by the ID of the element you want to select.
copyright {
border: 8px 0 0 0 solid #2A0400; }
I know this is the correct ID call and is not letting me move forward. What is the issue?
5 Answers
Jacob Miller
12,466 PointsSorry, I wasn't thinking. You're border isn't in the correct syntax. If you want to add a border to the top, use border-top
like the code below. As far as I know you can't specify a top border with the border
property. Hope this helps.
#copyright {
border-top: 8px solid #2A0400;
}
Carsten Pleiser
8,386 PointsHi Eric,
Have you considered using the "#" character before the copyright? It seems like at the moment you just have the "copyright"
Remember: You should use "#" to select an ID and a "." for a class.
Hope this helps. Cheers, Carsten
Jacob Miller
12,466 PointsAs Carsten said, the pound symbol is used to select id's. So to select the div with the id of copyright in your CSS file, you would need to write:
#copyright {
border: 8px 0 0 0 solid #2A0400;
}
Eric Marhefka
1,848 Pointscopyright {
border: 8px 0 0 0 solid #2A0400; }
is the code i have entered. I have cleared my browser's cache as well and am still getting the same 'bummer' message. There doesnt seem any other way to proceed to the next lesson either. Any other suggestion on how I may continue with this course?
Eric Marhefka
1,848 Pointsalso, I am using the '#' before copyright, but this email platform seems to be dropping the puond so it looks like i am leading with only 'copyright', however i assure you the Pound symbol is proceeding that class call of copyright.