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
imogenherbert
1,298 Pointsimages are not showing up on webpage
My last four images are not showing up on my treehouse workspace webpage. I cannot find doing any mistakes in my code as below:
<!DOCKTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> horse | horse phtogragher </title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<header>
<a href="index.html">
<h1>Imogen Herbert</h1>
<h2>horse photogragher</h2>
</a>
<nav>
<ul>
<li>portfolio</li>
<li>about</li>
<li>contact</li>
<li>edvents</li>
<li>herbert sailing</li>
<li>basics</li>
<li>tacking</li>
</ul>
</nav>
</header>
<section>
<img src="horse3.png" alt="horse">
<img src="horse4.jpg" alt="horse">
<img src="horse1.jpg" alt="horse">
<img srr="horse.jpg" alt="horse">
<img src="30 greatest painting.jpg" alt="horse">
<img src="images.jpg" alt="horse">
<img src="horse gear.jpg" alt="horse"
<img src="photo3-.jpg" alt="horse">
</section>
<footer>
<p>© 2014 Imogen Herbert</p>
</footer>
</body>
</html>
Please help,
Imogen
3 Answers
bleedcmyk
5,945 Points<img src="horse gear.jpg" alt="horse"
You didnt close this tag, and it probably broke the one after that.
Also double check that your file names are correct, in general spaces in file names tend to break things. Most people use _ or - instead of a space.
kind-of-like-this.jpg
or_like_this.gif
Kallil Belmonte
35,561 PointsDid you rename you images?
For instance:
30-greatest-painting.jpg
images.jpg
horse-gear.jpg
photo3.jpg
And then change the html code:
<img src="30-greatest-painting.jpg" alt="horse">
<img src="images.jpg" alt="horse">
<img src="horse-gear.jpg" alt="horse">
<img src="photo3.jpg" alt="horse">
Kevin Seagrave
9,508 Points4th list item says srr and not src
Kevin Seagrave
9,508 Points4th img not list item my mistake
imogenherbert
1,298 Pointsimogenherbert
1,298 Pointsbleedcmyk
I have closed the tag and and tried both-_ things for the spaces and still not working
thanks
Imogen