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

CSS How to Make a Website Adding Pages to a Website Build the Contact Page

Andrew Chung
Andrew Chung
5,203 Points

Contact info not displaying

From what I can tell my code looks identical to how it's done in the video but the contact information doesn't show up. Everything else appears fine. That's the section of code that's supposed to display. Any help would be appreciated.

<section> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:555-6425">555-6425</a></li> <li class="mail"><a href="mailto:andrew@example.com">andrew@example.com</a></li> </ul> </section>

1 Answer

It's because you have the Title Contact in the tag, <ul>, which is overall, you need a smaller tag like the ones you have for the portfolio and about; the <li> tag.