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 trialDavid McLaughlin
3,615 PointsImage not showing
My images are not showing on my index.html page. The text link will show and when clicked will show the image but it just won't show on the main page.
Here is my code for the link, image, and text:
<a href="img/numbers-01.jpg">
<img scr="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture. </p>
</a>
</li>
I have verified that the image is in the folder img and is named numbers-01.jpg. I'm using Firefox on a Mac.
3 Answers
Cody Sheets
7,198 Pointsyour image src is mispelled. should be img src=
David McLaughlin
3,615 PointsYeah, thank you
David McLaughlin
3,615 Points<li>
<a href="img/numbers-01.jpg">
<img scr="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture. </p>
</a>
</li>
David McLaughlin
3,615 PointsYeah, thank you
tobart
13,518 Pointsas cody said, should be spelled:
<img src="" alt=""> not <img scr="" alt="">
<li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture. </p> </a> </li>
ahh okay was already fixed.
Cody Sheets
7,198 PointsCody Sheets
7,198 Pointstry formatting it this way:
three backticks (the button under the escape key) followed by html new line your code here new line three backticks