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 trialLaksakan Krishnapillai
Courses Plus Student 1,839 PointsContact-info not working
Still the bullet point appears and the font size remains the same. Need help
.contact-info { list-style: none; padding: 0; margin: 0; font-size: 0.9em; }
6 Answers
Ivan Uvarov
22,403 PointsOk, I see the problem. You closed unordered list before adding list items. List items should be wrapped into ul tag. Correct code:
<ul class="contact-info">
<li class="phone"><a href="tel:078-505-48489">078-505-48489</a></li>
<li class="mail"><a href="mailto:laksakan@hotmail.com">laksakan@hotmail.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=Lux_Krish">@Lux_Krish</a></li>
</ul>
Laksakan Krishnapillai
Courses Plus Student 1,839 Points<h3>Contact Details</h3> <ul class="contact-info"></ul>
Ivan Uvarov
22,403 PointsMake sure that you actually added "contact-info" class to that list in HTML. If it doesn't help, you can post your HTML and CSS code, and I will try to solve the problem.
Laksakan Krishnapillai
Courses Plus Student 1,839 PointsYep, already done that. Heres is my code below:
<h3>Contact Details</h3> <ul class="contact-info"></ul>
Laksakan Krishnapillai
Courses Plus Student 1,839 Pointsahh thanks a lot! always a tiny mistake i make changes everything! thanks a lot Ivan :)