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 trialJULIO MUÑOZ
Courses Plus Student 4,930 Pointssocial icons in footer don´t change size and don´t know why. Maybe i´m missing something. Can anybody help me? Thanks
html code:
<a href="http://twitter.com/mitwitter"><img src="img/twitter-wrap.png" alt="Twitter Logo" class:"social-icon"></a> <a href="http://facebook.com/mifacebook"><img src="img/facebook-wrap.png" alt="Facebook Logo" class:"social-icon"></a>
css code:
.social-icon { width: 20px; height: 20px; margin: 0 5px; }
2 Answers
Lee Geertsen
Java Web Development Techdegree Student 16,749 PointsYou made a mistake with the class it's not:
class:"social-icon"
you need to put = instead of :
class="social-icon"
Mikey rizkalla
5,525 Pointshahah i made the same mistake. I need to get used to going back and forth from CSS to HTML
thanks!
JULIO MUÑOZ
Courses Plus Student 4,930 PointsJULIO MUÑOZ
Courses Plus Student 4,930 PointsThank you so much! I was going crazy looking for the mistake
Hamzah Abualkhair
2,009 PointsHamzah Abualkhair
2,009 PointsReally thank you. I lost my mind looking for the mistake.