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 trial

HTML

Direct Tweet

I am trying to create the contact.html page in Nick's class. When i click on the tweet link under contact details i get a "Sorry that page doesn't exist " message. Is that normal or is it my code:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Douglas J | Design</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,800|Oswald' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head>
<body>
<header> <a href="index.html" id="logo">
<h1>Douglas J</h1> <h2>Designs</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li> <li><a href="contact.html" class="selected">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <h3>General Information</h3> <p>I am currently looking for work in the Web Design world. i am laso avalible for Threesomes, Barmitzfas and Political Campaign work. Please don't hesitate to contact me!</p> <p>PLease only use phone calls if you are a female customer,otherwise Twitter or email is the best way to contact me.</p> </section> <section> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:555-6425">555-6425</a></li> <li class="mail"><a href="mailto:doug@example.com">doug@example.com</a></li> <li class="twitter"><a href="https://twitter.com/intent/ tweet?screen_name=DonaldWalsh17">@DonaldWalsh17</a></li> </ul> </section> <footer> <a href="http://twitter.com/DonaldWalsh17"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com/donald.walsh.372"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>Ā© 2014 Douglas Watts.</p> </footer> </div>
</body>
</html>

please help.

Here is the accual code:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Douglas J | Design</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,800|Oswald' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head>
<body>
<header> <a href="index.html" id="logo">
<h1>Douglas J</h1> <h2>Designs</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li> <li><a href="contact.html" class="selected">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <h3>General Information</h3> <p>I am currently looking for work in the Web Design world. i am laso avalible for Threesomes, Barmitzfas and Political Campaign work. Please don't hesitate to contact me!</p> <p>PLease only use phone calls if you are a female customer,otherwise Twitter or email is the best way to contact me.</p> </section> <section> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:555-6425">555-6425</a></li> <li class="mail"><a href="mailto:doug@example.com">doug@example.com</a></li> <li class="twitter"><a href="https://twitter.com/intent/ tweet?screen_name=DonaldWalsh17">@DonaldWalsh17</a></li> </ul> </section> <footer> <a href="http://twitter.com/DonaldWalsh17"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com/donald.walsh.372"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>Ā© 2014 Douglas Watts.</p> </footer> </div>
</body>
</html>

for some reason the code turns into the page....here is the link:

http://web.wbak6xg52u.treehouse-app.com/contact.html

2 Answers

Itsa Snake
Itsa Snake
3,851 Points

You have a space before the word tweet after intent/

When corrected, the URL should be this

https://twitter.com/intent/tweet?screen_name=DonaldWalsh17

Sweeeeettt!! That did it.....thanks so much for the help!