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 trialKhalil Muhsin
451 PointsFor some reason the picture-nick.jpg is not working in my about.html page
here is the about.html code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Lamppost Productions | Islamic Online Classes</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css? family=Changa+One|Open=Sans:400italic, 400, 700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id=logo>
<h1>Lamppost Productions</h1>
<h2>Islamic Online Classes</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<img src="img/nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo">
<h3>About</h3>
<p>Hi, I'm trying to figure out how to use html and css to do more in my work. However, this part of the project is giving me problems.Working for Lamppost is rewarding and giving me much satisfaction</p>
<p>I want to learn as much as possible and do even more and more</p>
</section>
<footer>
<img src="img/twitter-wrap.png" alt"Twitter Logo" class="social icon">
<img src="img/facebook-wrap.png" alt"Facebook Logo"class="social icon">
<p>Ā© 2014 Lamppost Education Initiative.</p>
</footer>
</div>
</body>
</html>
3 Answers
Clinton Hopgood
7,825 PointsYou have not entered "picture-nick.jpg" only "nick.jpg"
<code>src="img/nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo"</code>
Khalil Muhsin
451 Pointswait...the name of the image in the workspaces is "nick.jpg" not "picture-nick.jpg The photo appears when I remove the html code related to the 'alt' and 'class' So with this html code <img src="img/nick.jpg" alt=""> the photo appears however when i apply the code just like it is in the video : <img src="img/nick.jpg" alt="Photograph of Nick Petitt" class="profile-photo"> the photo does not appear in my about page.
Juan Aviles
12,795 PointsHi Khalil. Can you post the CSS code as well? If removing the class attribute allows the picture to show, then I think your problem is in your stylesheet.
Khalil Muhsin
451 Pointsvery humbling ...smh...thanks
Nate Conley
16,191 PointsNate Conley
16,191 PointsYou are also missing "=" and a space with the alt tage in the social icons towards the bottom.