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

John Bosquet
John Bosquet
1,609 Points

My images and links aren't working in my html file after downloading from workspace and trying it in chrome?

I recently completed the html basics course and when I downloaded the workspace and tried to open it from my computer into Chrome the images don't work and none of the links do either..

I've tried making the paths root relative etc but nothing seems to work?

would need to see your code and file structure to help with this

Gari Merrifield
Gari Merrifield
9,597 Points

John, how are you trying to load them? Just as files, or are you running them on a web server on your local machine? Some things just work better via a local web server ( XAMPP is fairly simple to install and use )

1 Answer

You need to checkout where is your complete folder that you made your download, after verify the image and all extension, when everything it's okay, you just checkout if you're try to using mamp as a local machine and etc, if you checkout all these things and everything it's okay, you just looking for to the name of imagem if is the same or the name of the folder example <img src="img/exemplo.png"> or <img src="data/img/exemplo.jpg"> something like this, I hope help you !