Bummer! You must be logged in to access this page.

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

<div id="wrapper"> <section> <img src ="img/nick.jpg" alt = "Photog

The exercise is asking for a profile photo. What am I doing wrong? When it gives me a message back it is of NO USE. Help please.

can you add your code, or send us a link to your treehouse workspace?

Thanks.

4 Answers

your code should look like:

<img src="img/gratt.png" alt="Any text to describe the image" class="profile-photo" />

make sure you add this between the

<section></section>

Taking a look through the images, it looks like "img/nick.jpg" is Nick's profile photo. I can't see the link to the challenge, so I'm not sure if that answers your question completely. Just post a response here if you need more help, Sarah.

1). Have you checked for common mistakes, such as closing tags, spelling, and making sure your folder names are the same (e.g. "img/nick.jpg" and "images/nick.jpg")?

2). Have you checked for file formats so that you don't save them as nick.png or nick.jpeg?

3). Folder structure is also very important, have you made sure "nick.jpg" is actually inside the "img" folder?

Sorry if i didn't answer your question, but I hope this helps.

I thank you guys but I'm not getting it. These are the instructions: Add the profile picture "img/gratt.png" inside the section element. Then, write a description in the alternate attribute and add the class "profile-photo" to the image.

Based on what you wrote, you will find the section element in the HTML page. Then you will add this code right below it:

<img src="img/gratt.png" alt="Your Description Goes Here" class="profile-photo">