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

Image on website problem

why will my image not show on the website? this is my code

<!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>

3 Answers

Where is your code? Did you attach it?

Make sure your image file path is correct. For example: If you saved all your images in images folder. <img src="images/yourimage.jpg" >

Here is a link on how to display code in the forum.