Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Images are not showing up in the preview

I saw all the discussions related to this. I checked and rechecked my code based on the answers, still cannot figure out why. Please help! Images are inside a folder called "img".

<section>
      <ul>
        <li>
          <a href="img/numbers-01.jpg">
            <img src="img/numbers-02.jpg" alt="">
            <p>Whaaat</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-02.jpg">
            <img src="img/numbers-02.jpg" alt="">
            <p>What is the point of anything?</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-06.jpg">
            <img src="img/numbers-06.jpg" alt="">
            <p>Where is my life going?</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt="">
            <p>What am I thinking?</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-12.jpg">
            <img src="img/numbers-12.jpg" alt="">
            <p>Dummy</p>
          </a>
        </li>

      </ul>
    </section>

Hai prashanthini mande, Once make sure that you uploaded the images to the workspace and also make sure that you placed images in the 'img' folder because the syntax was all correct.

prashanthini mande:

The href "img/numbers-***.jpg" is the path to the individual image file inside the img folder.

Which specific lesson are you working on? It's much easier to answer your question if you identify it. I'm not sure if this is the lesson where you're copying & pasting the entire <section> tag from your "Portfolio" page to your "About" page, then deleting everything inside the <section> tag. Once you state which lesson this is, the Community can help you.