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

John Worth
John Worth
1,425 Points

First challenge in the Add Style and Icons section, and it's not picking up my coding...

Here is my code for the first challenge...i check and it keeps saying 'make margin 0... then it gripes about font size... then padding... almost seems random?

From main.css /********************************* Page: Contact **********************************/

.contact-info { list-style: none; padding: 0; margin 0; font-size: 0.9em; }

From Contact.html:

<ul class="contact-info"> <li class:"phone"><a href="tel:111-1111">111-1111</a></li> <li class:"mail"><a href="mailto:JDW@example.com">example@example.com</a></li> <li class:"twitter"><a href="http://twitter.com/intent/tweet?screen_name=testtweet">@testtweet</a></li> </ul>

2 Answers

It seems like you missed a colon between margin and your 0.

John Worth
John Worth
1,425 Points

Argh... yep that was it.

Thank-you.