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 trialprashanthini mande
218 PointsImages 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>
Kathryn Notson
25,941 Pointsprashanthini 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.
susmita vasavi devi konem
13,073 Pointssusmita vasavi devi konem
13,073 PointsHai 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.