Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Adding Pages to a Website Build the Contact Page

Luke Svarc
Luke Svarc
1,338 Points

List 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

https://w.trhou.se/gjz12m0of4

3 Answers

Hi,

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
Oriol Bover
4,213 Points

i 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

https://w.trhou.se/eqp4hj4nxw

Hi 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 :)