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
John Groarke
Courses Plus Student 2,124 PointsThe images in the first html challenge will not show up on my website
I have saved everything into a folder on my desktop. When i started the images were in a different folder, i tried putting everything in one folder to solve the prob but it does not seem to have worked. Please help
4 Answers
James Barnett
39,199 PointsThe 2 most common mistakes when images are not showing up are a typo with the file names or using the wrong file path.
So triple check that you are using the exact name of the image files in your HTML, if that doesn't resolve the issue, check the file paths.
Here's a quick primer on file paths that should get you going.
Let us know how you are getting along with this here in this thread.
Landon Sanders
9,183 PointsThe problem has to be in the src attribute of the image tag. Make sure, again, that you have the right filename, and folder, ok?
John Groarke
Courses Plus Student 2,124 PointsHi thanks for your help. I am completely new to programming and havent got a clue about file paths. The language in the primer doesnt make any sense to me. here is where i have my image and html file saved on my computer C:\Users\John\Desktop\cupcakes
John Groarke
Courses Plus Student 2,124 PointsMaybe thats what i need to put as source?
Nicholas Wadsworth
753 PointsNicholas Wadsworth
753 PointsI'm having a difficult time understanding file paths. Do you have any other resources or tutorials. My main difficulty is getting images to show up in my web pages. Any help would be greatly appreciated.
Nick
James Barnett
39,199 PointsJames Barnett
39,199 PointsNicholas Wadsworth -