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

Wont read my .gif file

I typed exactly what it said to type on my programming and it will not read the .gif logo file what am I doing wrong? here is a copy of the text. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> Smells Like Bakin' Cupcake Company </title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin" <ul class="nav"> <li><a href="#">About</a></li> <li><a href="#">Cupcakes <amp> Prices</a></li> <li><a href="#">Locations</a></li> <li class="last"><a href="#">Contact Us</a></li> </ul> </body> </html>

2 Answers

Damian McCartney
Damian McCartney
4,067 Points

Can you post the full HTML you've used. It's a bit hard to understand with what you've posted..

To add the image it should be HTML <img src="ImageFolder/ImageName.gif" />

Change the image folder name to the folders name you are using (if any). If the image is in the same folder as your html file, remove the "ImageFolder/" from the code i stated. Also change ImageName to the name of your image..

Hope that helped..

I finally figured it out it was a text error or my part. This learning software is very sensitive. Thank you for the help though....