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

General Discussion

logo goes not up peer

I started the html lessons and I did as was instructed but the logo doesn't up peer...

1 Answer

Well just make sure about a few things first
Lets assume you are creating your html project in a folder called Demo and you have your main html file called main.html in the same folder demo.
In the same folder demo you have your logo called logo.jpg
So to call your logo i.e. logo.jpg in your main.html file you will use the tag

<img src="logo.jpg" alt="" />

If you have your image files in a subfolder called Images inside your Demo folder then you will refer to the image as

<img src="Images/logo.jpg" alt="" />

Try looking into your html code too. Maybe you spelt something wrong (it is case sensitive) or forgot to close the tags.
If it still doesn't work you can post your code here so that we can look into it.
Hope that helps

See alot of questions similar to this recently, Treehouse needs to explain folder structure to people i think. Great answer Gunjeet Hattar Also this article may help Liat Daltrophe basic folder structure

Thank you Gunjeet Hattar. You're right Adam Sackfield, Treehouse should it. here it is: <!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 & prices</a></li> <li><a href="#">Locations</a></li> <li class="last"><a href="#">Contact Us</a></li> </ul> </body> </html>