Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Adding Pages to a Website Add Iconography

Still getting bullet points not icons, what am I doing wrong?!

I swear I have scoured my code over and over again and downloaded Nick's code to compare side by side and I cannot figure out what I'm doing wrong. I see others have had the same problem but I checked the things that they used to resolve the issue and it didn't fix it for me. Here is my snapshot- https://w.trhou.se/pivpcktr9w

2 Answers

You have a little typo in your ul class and you need to mind the case of your class names so that it matches your CSS.

<ul class-"Contact-Info">
          <li class="Phone"><a href="tel:208-340-1895">208-340-1895</a></li>
          <li class="Mail"><a href="mailto:boisefacepainting@gmail.com">boisefacepainting@gmail.com</a></li>
          <li class="Twitter"><a href="http://twitter.com/intent/tweet?screen_name=boisefacepaintr">@boisefacepaintr</a></li>

Fix those issues and you should be good :)

Hi Stacia,

There are a couple of things you need to fix:

  1. You should generally always use lowercase letters in your class names as these can be case sensitive in different situations. So the class names in html should match those in CSS, and at the minute they don't.
  2. You have used a - instead of a = on line 31 of contact.html. It should read <ul class="contact-info">

Overall your html code should look like this...

<ul class="contact-info">
  <li class="phone"><a href="tel:208-340-1895">208-340-1895</a></li>
  <li class="mail"><a href="mailto:boisefacepainting@gmail.com">boisefacepainting@gmail.com</a></li>
  <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=boisefacepaintr">@boisefacepaintr</a></li>

Notice the CSS class names are all lower case and match what you have in the CSS file.

Hope this makes sense :)