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 How to Make a Website Creating HTML Content Add Image Gallery Content

why wont my image show

why wont this image show when i click preview all that shows is a bullet point. what am i doing wrong

Here's some tips on how to post code in the forum:
https://teamtreehouse.com/forum/how-to-type-code-in-the-forum

16 Answers

show your code please...

<section> <ul> <li><img src="img/numbers-01.jpg" alt="" </li> </ul> </section> <footer> <p>© 2014 Jose Sias.</p> </footer> </body> </html>

YOU FORGOT THE END BRACKET IN YOUR IMAGE TAG. <img src="img/numbers-01.jpg alt="numbers" > This should work

how do i copy the code from workspace to place in here

highlight it with the mouse and then, hit control c on a pc, command c on a mac...which should copy and to paste in the forum...control v or command v to paste :)

<nav> <ul> <li><a href="index.html">Porfolio</a></li> <li><a href="about.index">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li><img src="img/numbers-01.jpg" alt=""></li> </ul> </section> <footer> <p>© 2014 Jose Sias.</p> </footer>
</body> </html>

<nav> <ul> <li><a href="index.html">Porfolio</a></li> <li><a href="about.index">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li><img src="img/numbers-01.jpg" alt=""></li> </ul> </section> <footer> <p>© 2014 Jose Sias.</p> </footer>
</body> </html>

<nav> <ul> <li><a href="index.html">Porfolio</a></li> <li><a href="about.index">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li><img src="img/numbers-01.jpg" alt=""></li> </ul> </section>

i tried copying the html i dont know why its doing this i downloaded the project files and when i open the files to download it to work space it says these images have blocked when i preview the html on workspace all it has is a bullet point and no image ??

Fedor Andreev
Fedor Andreev
6,438 Points

WITHOUT brackets write this---> ( ```) in the beginning of your code.

Then you will have something like this

<h1>The Code To Rule All Codes<h1>

'''

<section> <ul> <li><img src="img/numbers-01.jpg" alt="" </li> </ul> </section> <footer> <p>© 2014 Jose Sias.</p> </footer>
</body> </html> '''

i tried to post the code and its not letting me idk what im doing wrong

<section>
      <ul>
        <li><img src="img/numbers-01.jpg" alt=""
              </li>
      </ul>
    </section>
    <footer>
      <p>&copy; 2014 Jose Sias.</p>
    </footer>    
  </body>
</html>

haha there we go

Hi Jose,

I see you've got the code posting figured out.

Looks like you're missing the > at the end of your img tag to close it off.

<img src="img/numbers-01.jpg" alt="">

So right after your alt attribute you need to add a > This closes off the tag.

See where you're at after fixing that and let us know.

Yeah I tried that when I preview the work it has a bullet point n a little box like an image is there but it's not the actual image when I look at all the files I downloaded for the project it says these images are blocked so idk what to do I'm lost

Hey guys thanks for all your help I figured it out I placed the images in the wrong folder and now it works fine I appreciate all your help thanks a lot