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
Regena Koeshall
Front End Web Development Techdegree Graduate 21,143 PointsI still have bullet points and I can't see the phone, mail, and twitter icons
I do not see why the bullet points are still showing when I have the list-style: none; also I can not see the phone, mail, and twitter icons on my contact page.
main.css
.contact-info { list-style: none; padding: 0; margin: 0; font-size: 0.9em; }
.contact-info li a { display: block; min-height: 20px; background-repeat: no-repeat; background-size: 20px 20px; padding: 0 0 0 30px; margin: 0 0 10px; } .contact-info li.phone a { background-image: url('../img/phone.png'); } .contact-info li.mail a { background-image: url('../img/mail.png'); } .contact-info li.twitter a { background-image: url('../img/twitter.png'); }
Here is my contact.html
<div id="wrapper"> <section id="primary"> <h3>General Information</h3> <p>I will add new photos occasionaly to my portfolio. I hope you enjoy them.</p> <p>If you would like to contact me please use Twitter or email.</p>
</section>
<section id="secondary">
<h3>Contact Details</h3>
<ul class="contact info">
<li class="phone"><a href="tel:555-5555">555-5555</a></li>
<li class="mail"><a href="mailto:regena.k@yahoo.com">regena.k@yahoo.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?srceen_name=regena.koeshall">@Regena.Koeshall</a></li>
</ul>
</section>
2 Answers
Trent Christofferson
18,846 Pointsits because you set the ul's class to contact and info you forgot the - in between them
Henrik Christensen
Python Web Development Techdegree Student 38,322 PointsTry add a space between li and the following class in these places, like this:
li.phone | li.mail | li.twitter
li .phone a - li .mail a - li .twitter a
Regena Koeshall
Front End Web Development Techdegree Graduate 21,143 PointsRegena Koeshall
Front End Web Development Techdegree Graduate 21,143 PointsThanks!