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

Problem uploading images

Hi, I'm building the cupcake website and am unable to upload the images properly. Does anyone know what I'm doing wrong? I put my work on CodePen http://cdpn.io/Fhnwt Thanks

2 Answers

Are you wanting to make it work locally? I don't know much about code pen but.... I looked at your code and you are linking images like so: src=" img/logo.gif" TRY src="./img/logo.gif" .

The ./ means go up (back) one directory most likely the folder with the index.

http://www.coffeecup.com/help/articles/absolute-vs-relative-pathslinks/

> I don't know much about code pen

Here's a guide to using codepen that should get you up to speed.

If you want to use images on codepen you have to link to images that are accessible on the Internet not images that exist on your local computer.

Simple solution just add http://http://smellslikebakin.com/ for all of your images, backgrounds & CSS files and it should work just fine on codepen.

If you are trying to develop it on your local computer take a look at the link Hayden posted as you mostly like have a path issue.