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 trialLuke Svarc
1,338 PointsList Item Twitter not working
I am trying to add the last list item onto the contact page and keep getting an error in my code.
Can anyone advise what might be happening as I can't figure it. Thanks
3 Answers
James Anwyl
Full Stack JavaScript Techdegree Graduate 49,960 PointsHi,
Looks like you are using the wrong type of quotes. You are using curly quotes β at the end of the phone number and twitter a tags:
<li class="phone"><a href="tel:01159555555β>01159555555</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=lukesvarcβ></a>@lukesvarc</li>
You need to use straight quotes " like this:
<li class="phone"><a href="tel:01159555555">01159555555</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=lukesvarc"></a>@lukesvarc</li>
Hope this helps :)
Oriol Bover
4,213 Pointsi am having the sambe trouble like luke and i can't see the soultion in your post James,
i left my code if you can tell me my mistake i will apreciate
James Anwyl
Full Stack JavaScript Techdegree Graduate 49,960 PointsHi Oriol,
You are missing an = equals sign after the href attribute on line 35 of contact.html.
<li class="twitter"><a href"http://twitter.com/intent/tweet?screen_name=bover73">@bover73</a></li>
Should be:
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=bover73">@bover73</a></li>
Next time you have a problem, please make a new forum thread. That way, other people can see it also. If you're stuck on a specific video or challenge, you can click the 'Get Help' button underneath it and post your question. Or go directly to the forum and click 'Ask'.
Hope this helps :)