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 Iconography

Josie Nagy
Josie Nagy
14,992 Points

● Email / Twitter/ Phone Icons not showing up in my Contact Page ●

I'm currently taking the 'How to Make a Website' course -> Add Iconography (video stage) and I just can't make the little email/ twitter/ phone icons show up in my Contact Page!

Can someone take a look? I'd really appreciate it! Here is my workspace: https://w.trhou.se/rbyjebhiou

Thank you! ?

2 Answers

Hi Josie,

In the following html you closed off your ul too early so your li's are not inside the ul.

<ul class="contact-info"></ul>
                    <li class="phone"><a href="tel:555-6425">555-6425</a></li>
                    <li class="mail"><a href="mailto:nagy.iozefina@yahoo.com">nagy.iozefina@yahoo.com</a></li> 
                    <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=nickrp">@nickrp</a></li>

Putting the li's inside the ul will get the email and twitter icons working.

You have a small mistake on the selector for your phone icon.

You have .contact-info li .phone a {

There's a space between li and .phone

Once you remove that your phone icon should be showing up.

Works for me! You must have figured it out. :+1: :smile:

grabbed screen

Steve.

Josie Nagy
Josie Nagy
14,992 Points

Hey Steve, I'm not sure I get it. This is how I'm hoping my Contact Info would look like (I want the icons and green text - except for the fonts): https://snag.gy/4MDmyx.jpg