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 trialmarcolamoon
16,915 PointsMy images are not appearing. coding seem to be right, HELP!!!!!
2 Answers
Jason Anders
Treehouse Moderator 145,860 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.