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 trialJonathan Pearson
Courses Plus Student 6,704 PointsMy image is not displaying when I refresh my page.
I uploaded the image files to workspace and proceeded to code in the first image but all I am getting in the browser is the image icon.
Jonathan Pearson
Courses Plus Student 6,704 PointsIs there a way for me to be able to show you my code in Workspace?
Aurelian Spodarec
7,369 Pointsyes there is .
Post your code here like that
@```html
@```
Write these three and then next to it name so if its HTML wirte
HTML without the space on a single line and close it with ```
Like on the code but without the email symbol.
Jonathan Pearson
Courses Plus Student 6,704 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Jonathan Pearson | Photographer</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Jonathan Pearson</h1>
<h2>Photographer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Porfolio</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 Jonathan Pearson.</p>
</footer>
</body>
</html>
2 Answers
sage stoker
2,405 Pointsjust watch the video and make sure everything is right
Jonathan Pearson
Courses Plus Student 6,704 PointsThat what's confusing me. I think I did everything right and yet my picture isn't displaying. Could it be my picture file didn't connect through workspace correctly?
Ashton Morlote
5,517 PointsI am having the same problem. All syntax seems to be correct but the image just isn't showing.
Jonathan Pearson
Courses Plus Student 6,704 PointsI think the problem is with workspace. I switched over to sublime text and it works fine now.
Csaba Koles
4,644 PointsCsaba Koles
4,644 PointsIt is probably a syntax error. My best guess without the code is that you use "href" instead of src="".