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

HTML

Why doesn't my photo show?

My photo is in a Treehouse Img folder but it doesn't show. It's kilobyte space is less than Nick Petitt's photo.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Alisha L. Austin | Writer, Designer, Developer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic,800|Raleway' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/styling.css"> <link rel="stylesheet" href="css/responsive.css"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Alisha L. Austin</h1> <h2>Writer, Designer, Developer</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/512X512uncubed.jpg" alt="Photograph of Alisha Austin" class="profile-photo"> <h3>About</h3> <p>Hi! I'm a multi-facted individual that enjoys making meaningful things.I also enjoy longboarding, cycling and running.</p> <p>If you'd like to follow me on Twitter, my username is <a href="http://twitter.com /_little_birdtw">@_little_birdtw</a>.</p> </section>
<footer> <a href="http://twitter.com/_little_birdtw"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <p>Ā© 2014 Alisha Austin.</p> </footer> </div> </body> </html>

Is the photo definitely in the img folder in workspaces?

2 Answers

If that's all of your code...you're missing opening and closing body tags as well as a closing html tag. Also, your meta, link, and title tags should be wrapped in a head tag.

<head>
<meta>
<link>
<title></title>
</head>

<body>
  Stuff in here...
</body>

</html>

Hi Mark I originally dragged my photo into the img folder of my treehouse workspace. I dragged into the img folder again and this time it worked. Thanks. Hi Ion That's not all of my code; I have the tags you mentioned. Thanks.

Yes, workspace can be a little temperamental at times . . .