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 trialDavid Ludwig
166 Pointsfor some reason none of the images, 01-12.jpg showup in the preview page. All of the text does.
This is some of my code and as far as I can find it looks like Nick's. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>David Ludwig | Designer</title> </head> <body> <header> <a href="index.html"> <h1>David Ludwig</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> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Expermentation with color and texture.</p>
3 Answers
jne
12,613 PointsHi! Your code looks ok(some missing though). Have you checked if the path for the images are correct. Do you have your images stored in a folder called img and is your html file stored outside that folder at root level.
LetΒ΄s say that your html and css are stored in a folder. You would then place a folder inside that folder called "img", and inside that folder you would put your images.
Let me know if it helped. if not reply with your css
David Ludwig
166 PointsHello, thanks for taking the time to comment. In Workspaces the path to my Img folder is the same as Nick's. I assume that is correct as it is part of the browser, i didn't download it.
David Ludwig
166 PointsI just downloaded my index.html file from File, Download Workspace. When I open it all my images are there. I must have missed something, as I don't remember Nick saying we had to download the index.html. I thought the work could be seen in "Preview Workspace". Why it isn't I do not know. To answer your other questions; "Do you have your images stored in a folder called img" yes I do. "is your html file stored outside that folder at root level." yes I do.
John Magee
Courses Plus Student 9,058 PointsJohn Magee
Courses Plus Student 9,058 PointsWell the code is missing, but did you remember to close out your <a> tag? The code you pasted doesn't include the </a>. Additionally, make sure your path is accurate in relation to where you are storing the files.