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 Structure the Image Gallery

picture will not show up

structure the image gallery video

2 Answers

Eric Martz
Eric Martz
16,007 Points

Can you provide your code? It will allow us to help you better and more efficiently.

Just started yesterday i am a total beginner.

<!DOCTYPLE html> <html> <head> <meta charset="vtf-8"> <title> Rosemary Heath | Designer </title> </head> <body> <header> <a>href="index.html"> <h1>Rosemary Heath</h1> <h2>Designer</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">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <img src="img/numbers-02.jpeg" alt=""> </li> </ul> </section> <footer> <p>Ā© 2014 Rosemary Heath.</p> </footer> </body>

</html>

Eric Martz
Eric Martz
16,007 Points

Congratulations on starting! I hope Treehouse is able to help you complete your goals. :-)

I apologize, but the code above doesn't really help me understand what is going on here. Maybe there is more html code in your file?

Some things we will want to check:

  1. Make sure you downloaded the img files. Under Teacher's Notes there is a subtitle Resources with a link to download the folder.
  2. Make sure the img folder is in the folder for your website. So if your website is located at C:\Website, the image folder location would be C:\Website\img
  3. Add an image tag that references the image folder. An example img tag is below from the video:
<img src="img/numbers-01.jpg" alt=" ">

Nick goes over absolute and relative paths, but I would stick with the relative URL for now since you are probably developing on your computer.

I hope this helps.