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 trialjoshua meads
6,945 PointsI 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');
Steven Parker
231,261 PointsTo 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.
Alicia Taylor
4,788 PointsJust from this information, I see you are missing two closing braces on line 1 and line 3.
Steven Parker
231,261 PointsGood eye, Alicia, I'll bet that's it.
2 Answers
Alicia Taylor
4,788 PointsGlad you were able to resolve the issue Joshua.
joshua meads
6,945 Pointsmy 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
jamesjones21
9,260 Pointsjamesjones21
9,260 Pointscan you provide me with the full css please?