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 How to Make a Website Creating HTML Content Build the Footer

So I tried to implement my facebook and twitter handle into this code and it says page not found. code looks right.

my code looks correct and when i inspect element and ask the computer what exactly is going on it says cannot find file in admin/desktop/ etc... i am trying to figure out why it is asking for the site relative to my desktop and admin files as it should just connect externally, right? no idea how to fix this can anyone give me any advice?

As Paul said, it would be very helpful if you included your code. Here's a great post on how to place code on the forum: https://teamtreehouse.com/forum/posting-code-to-the-forum

6 Answers

Your URLs seems to have periods in it at the beginning. Try http:// instead.

Paul Hirschi
Paul Hirschi
18,971 Points

Hey Kyle. It would be helpful if you included the code snippets you are having a problem with. Makes it easier for us to help you to troubleshoot the issue.

Paul Hirschi
Paul Hirschi
18,971 Points

Your URLs are incorrect. Fix it by using http:// .

sure no problem, Let it also be known that I am using sublime text editor and I have a file on my computer for the project where the index.html and img/ folder is.

here is the section snippet of my code:

        <a href="http.//twitter.com/secretkdd"> <img src="img/twitter-wrap.png" alt="twitter logo"> </a>
        <a href="http.//facebook.com/kyle.david.10"> <img src="img/facebook-wrap.png" alt="facebook logo"> </a>
        <p>&copy; 2014 Kyle Donlan</p>

i double checked it a couple times and the links do go to a new web page just says as follows:

No webpage was found for the web address: file:///Users/admin/Desktop/Website%20learning/http.//twitter.com/secretkdd

hope this helps at all. thanks for the quick response!

I've edited your post to correctly show your code. Press edit to see the changes, or see the link I commented above.

thanks bryan, I just actually realized after looking at the post I need the back ticks.

Sorry if I was a tad hasty in fixing that for you :P Glad you figured it out though.

no problem at all! sorry I wasn't hasty enough! fixed the problem and made me learn something new! thanks again Bryan!

DOH!! i have been looking at code for way too long today. i could have swore that Nick put periods in his code. I think im just hallucinating! thank you very much for the quick response and the 2 quick lessons! one on the forum posts and one on my code! :D

Haha, no problem Kyle! That kind of thing happens all the time, to the best of people :P

Good luck with the rest of the course!