Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

marcolamoon
16,915 PointsMy images are not appearing. coding seem to be right, HELP!!!!!
2 Answers

Jason Anders
Treehouse Moderator 145,692 PointsHey Marcola,
I see a couple things that will be throwing off your code.
Your index.html file is located inside of a folder called index.html. This will not only throw off the browser when loading the page, but as your images are coded now, the path is not correct. The
index.html
file needs to be located in the root directory. So, move it out of the folder (then delete the folder) and place theindex.html
in the root of "How to Make a Website."For the
numbers-02
, you are missing a / betweenimg
and the file name.
Fix those two things, and it should be okay.
Keep Coding! :)

Gary Mejia
3,562 PointsYou have your index.html and img in different folders. 2 options:
- move your index.html to the img folder
- don't move index.html but add ../ in front of img to let the browser know to move out of the current folder to find img folder (you'll learn that later) example:
img src="../img/numbers-02.jpg" alt="">
This thing is actually saying " instead of putting "" don't let that confuse you. Just add ../ aslo you are missing / for number-02

marcolamoon
16,915 Pointsthanks. i appreciate it.
marcolamoon
16,915 Pointsmarcolamoon
16,915 Pointsthanks. i appreciate it.