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 Build a Simple Website Text Editors and HTML Images and Lists

Confused about Where Directory is...And what it's asking me.

IT's asking me to add an IMG from the directory, but I have no idea of how or where to get it from...

2 Answers

cody perry
seal-mask
.a{fill-rule:evenodd;}techdegree
cody perry
PHP Development Techdegree Student 18,448 Points

The Directory is the file path that you image/folder is located at. So for example, if your file was located in a web project folder. It might be something like ex: web_project/img/cupcake.png. Where ever your file is located is the file path you want.

That made no sense to me at all. how does that look in the body?

cody perry
seal-mask
.a{fill-rule:evenodd;}techdegree
cody perry
PHP Development Techdegree Student 18,448 Points

"<img src="img/example.png" alt="My Picture"/>" Usually when its asking you to add the image, it assumes you have downloaded the project files for that stage.

Unless this is a code challenge.

cody perry
seal-mask
.a{fill-rule:evenodd;}techdegree
cody perry
PHP Development Techdegree Student 18,448 Points

it does not let me add code. It would be image tag = "image path" alt text="Describe your picture" end image tag.