Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Add and Style Icons - Challenge 2 of 5


i think i have a bug at the challenge 2 from 5 in the "add and style icons" course from "how To Name a Website".

The task is : Select the anchor elements inside the contact-info list. Then set theme To block level elements.

I write:

.contact-info a{
display: block;

...but i get the error " die you set the display for links inside of the contact-info list To block?!

What went wrong?

Thank, Dennis

2 Answers

Hi Dennis,

I wrote the same code and passed the challenge:

.contact-info a{
  display: block;

Did you close the selector above this one?


Oh man, you got it. :) I just havent closed the selector. Thanks.