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 Add Image Gallery Content

My links can't be found on server

Can someone help to show what i got wrong here please? My links keeps give me this message "not found"

https://w.trhou.se/hanqkxwuo1

Thank you guys.

3 Answers

Liam English
Liam English
3,837 Points

Hi,

I now see your problem:

You have accidentally typed number instead of numbers in your anchor links.

Like so:

<!-- Current -->

<a href="img/number-01.jpg"></a>

<!-- Correction -->

<a href="img/numbers-01.jpg"></a>

Thank you so much sir. ;-)

Liam English
Liam English
3,837 Points

Hello Leonardo,

Judging by your work space, the links are not working because the pages have not been created yet.

You currently only have an index.html file. So if you click on about.html, or contact.html the server can not find them as they do not exist.

You can create these files by right clicking in the left hand menu of your Workspace and selecting 'New File'. Do this once to create a file called about.html and then again to create a file called contact.html.

This should solve your problem.

Hey Lian,

thank you, but on video i suppose to be able to click on images and they should open in a different page, what isn't happening.

I don't know why.

Thank you again.

Leonardo if Liams answered helped you please set his answer as the one that helped.

Richard Lambert
PLUS
Richard Lambert
Courses Plus Student 7,180 Points

Hi Leonardo,

For any given <li>, if you look at your image paths they don't point to the same resource:

<li>
    <a href="img/number-01.jpg">
        <img src="img/numbers-01.jpg" alt="">
        <p>Experimentation with color and texture</p>
    </a>  
</li>

Hope this helps

Yes Richard, thank you so much.