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
kunal patel
492 PointsImage on website problem
why will my image not show on the website? this is my code
3 Answers
Dungaamaa Tudevdorj
8,815 PointsWhere is your code? Did you attach it?
Dungaamaa Tudevdorj
8,815 PointsMake sure your image file path is correct. For example: If you saved all your images in images folder. <img src="images/yourimage.jpg" >
Chase Lee
29,275 PointsHere is a link on how to display code in the forum.
kunal patel
492 Pointskunal patel
492 Points<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Sandy's Sandwiches</title> </head> <body> <img src="imgs/sandwichlogo.jpeg" alt="Hoagez steaks n shakes"> <ul class="nav"> <li><a href="#">About</a></li> <li><a href="#">Sandwiches and Prices</a></li> <li><a href="#">Locations</a></li> <li class="last"><a href="#">Contact Us</a></li> </ul> <div> </div> </body> </html>