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

HTML How to Make a Website Adding Pages to a Website Add and Style Icons

Paula Mourad
Paula Mourad
5,154 Points

Links within a contact-info

Select the anchor elements inside the contact-info list. Then set them to block level elements.

What I have is:

.contact-info { css here }

Where do I select the anchors?

2 Answers

Joshua Holland
Joshua Holland
2,865 Points

I believe you would simply add an 'a' before the {} in your code. Like this.

.contact-info a { css here }
Stephen Bone
Stephen Bone
12,359 Points

Hi Paula

To select the anchor elements within the list with a class name of contact-info you just need to chain them together, so as below:

.contact-info a {
...
}