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 trialWANJYUN WANG
8,539 Pointsonly the icon of twitter.png didn't show up
/************************ PAGE: CONTACT ************************/
.contact-info { list-style:none; padding:0; margin:0; font-size:0.9em; }
.contact-info a { display:block; min-height:20px; background-repeat:no-repeat; background-size:20px 20px; padding:0 0 0 30px; margin:0 0 10px; }
.contact-info li.phone a { background-image:url('../img/phone.png'); }
.contact-info li.mail a { background-image:url('../img/mail.png'); }
.contact-info li.twitter a { background-image:url('../img/twitter.png'); }
1 Answer
Tiwong Nance, Jr.
19,650 PointsHi WANJYUN WANG. In the section of contact.html, the list tag for the twitter image has an error with the class attribute. The name was misspelled as "calss," so changing that to "class" should fix the issue.
WANJYUN WANG
8,539 PointsBustling for 10min ,Thanks a lot
WANJYUN WANG
8,539 PointsWANJYUN WANG
8,539 Pointsand the section in contact.html if it can help
<section> <h3>Contact Deatails</h3> <ul class="contact-info"> <li class="phone"><a href="tel:+--------------">+-----------------</a></li> <li class="mail"><a href="mailto:--------------@gmail.com">------------@gmail.com</a></li> <li calss="twitter"><a href="https://www.linkedin.com/in/wan-jyun-wang-4a1a31123/">WAN-JYUN,WANG</a></li> </ul> </section>
Moderator Edit: Censored personal information that was included in Comment Body. Adding personal information in a public forum could potentially cause problems with spammers / scammers.