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 Structure the Image Gallery

Alexander Miller
Alexander Miller
1,670 Points

My workspace preview doesn't show the image I'm adding, just a bullet point, and my code looks identical to Nick's.

In the "structure the image gallery" video, my code looks exactly the same as Nick's, however, at the end when I preview my code to see the img I've imbedded it does not show up. Instead, there is a bullet point where I was hoping an image would be. Any thoughts?

3 Answers

Seth McCombs
Seth McCombs
16,767 Points

Hey there Alexander! Could you post the code you're using? You can use the markdown cheatsheet below if you need a hand formatting!

Alexander Miller
Alexander Miller
1,670 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Alex Miller|Developer</title> </head> <body> <header> <a href="index.html"> <h1>Alex Miller</h1> <h2>Developer</h2> </a> <nav> <ul> <li><a href="index.html">portfolio</a></li> <li><a href="about.html">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 Alex Miller.</p> </footer> </body> </html>

Thanks for your help!

Are you sure that the images are in your Workspaces files? I had the same problem and realized that the files weren't in the right spot.

Also, read and reread your code. I spent hours pulling my hair out because my code wouldn't work and realized I had forgotten something as simple as a semi-colon.

Dan Grรคns
Dan Grรคns
333 Points

I have the exact same problem, can someone please help?