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 trialFrank Bono
2,911 PointsText and icons not aligned properly
I went over the Q&As and couldn't find why the reason why it doesn't look like the example given. What am I doing wrong? https://w.trhou.se/9xb8cti8ca
1 Answer
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsHi Frank, You need to move some of your closing anchor tags to include your text content. You have:
<li class="phone"><a href="tel:555-5555-7777"></a>555-555-7777</li>
<li class="mail"><a href="mailto:frank@example.com">frank@example.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=frankonrails"></a>@frankonrails</li>
Needs to be:
<li class="phone"><a href="tel:555-5555-7777">555-555-7777</a></li>
<li class="mail"><a href="mailto:frank@example.com">frank@example.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=frankonrails">@frankonrails</a></li>
Frank Bono
2,911 PointsFrank Bono
2,911 PointsThank you Dale! I appreciate your help :)