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 Styling Web Pages and Navigation Review: Styling Web Pages and Navigation

I tried to make the twitter and facebook logo smaller by using the class: 'social-icon' but it didn't work.

In the last video I did, I tried to make the twitter and facebook logo smaller by using the class: 'social-icon' but when I refreshed the browser it was still big.

This was my code:

CSS page: .social-icon{ width: 20px; height:20px; margin:0 5px; }

HTML page:

<footer>

   <a href="https://twitter.com/KistalG"> <img src= "img/twitter-wrap.png" alt="Twitter logo" class:"social-icon"> </a>
    <a href="https://www.facebook.com/kistal.gordon"><img src= "img/facebook-wrap.png" alt="facebook logo" class:"social-icon"></a>
   <p> &copy; 2016 Kistal Gordon.</p>
  </footer>

What did I do wrong?

1 Answer

Thank you so much! It's funny how something so simple messed me up. :)