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

joshua meads
joshua meads
6,945 Points

I am struggling to get the li and a attributes to work after stating a class .contact-info li.phone a {}

in the question section above the li and a tags keep getting highlighted in red I have checked my code, don't think anything is wrong could some one take a look. to clarify the code in my question is in my css.main folder.

/************************** page contact **************************/

.contact-info{ list-style:none; padding: 0; margin: 0; font-size: 0.9em;

.contact-info li.phone a { background-image: url('../img/phone.png'); }

.contact-info li.mail a { background-image: url('../img/mail.png');

jamesjones21
jamesjones21
9,260 Points

can you provide me with the full css please?

Steven Parker
Steven Parker
231,261 Points

To share your project files and folders, make a snapshot of your workspace and post the link to it here.
Providing a link to the challenge page would also be helpful.

Just from this information, I see you are missing two closing braces on line 1 and line 3.

Steven Parker
Steven Parker
231,261 Points

Good eye, Alicia, I'll bet that's it.

2 Answers

Glad you were able to resolve the issue Joshua.

joshua meads
joshua meads
6,945 Points

my apologies guys it seems I did not place the curly braces in the correct place. I am sorry for wasting your time and thank you for getting back to me so quickly