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


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.