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 trialLynn Collins
10,080 PointsOk so what next?
How do I specify the moon image?
<!DOCTYPE html>
<html>
<head>
<title>The Moon</title>
</head>
<body>
<img src="moon.jpg" alt=Provide alternative text for accessibility"/>
</body>
</html>
2 Answers
Kristina McElveen
152 PointsHi Lynn,
You are almost there! There is a key thing you are missing. The instructions say that the image is located in a folder by the name of img. So you have to include the path to the moon image. Also, you are a missing quotation in the alt attribute. I hope this helps!
<img src="path to image" alt="Provide alternative text for accessibility"/>
Jamie Reardon
Treehouse Project ReviewerTo expand on Kristina's answer with the code challenge solution in case you still need it:
<img src="img/moon.jpg" alt="Picture of the moon">
Rich Donnellan
Treehouse Moderator 27,708 PointsThanks, Jamie. However, it's highly advised not to provide direct answers.
Jamie Reardon
Treehouse Project ReviewerOh right didn't know that as I've seen others do it. Thanks.
Rich Donnellan
Treehouse Moderator 27,708 PointsNo worries! Although helpful in passing the challenge, it doesn't benefit the OP in learning the material.