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 trialFelistas Mudidi
6,677 PointsCould you please assist me with this question :Next, provide the browser with alternative text describing the image.
failing to see where i have gone wrong. My answer was: <img src="img/moon.jpg"alt="Shape and size of the moon">
<!DOCTYPE html>
<html>
<head>
<title>The Moon</title>
</head>
<body>
<img src="img/moon.jpg">"alt="the moon at midnight">
</body>
</html>
3 Answers
Kevin Gates
15,053 PointsHi there,
You're really close. Your put this:
<img src="img/moon.jpg">"alt="the moon at midnight">
The issue is that you closed the image tag too soon and had a extra quote. It should be this:
<img src="img/moon.jpg" alt="the moon at midnight">
Greg Saunders
5,263 PointsKevin is right! Don't close the img tag too soon, and definitely make sure to add the alt text, which is format the same as src.
Felistas Mudidi
6,677 PointsThank you so much Kevin and Greg. I got it right following your instructions
Kevin Gates
15,053 PointsKevin Gates
15,053 PointsFelistas Mudidi : if you found this answer helpful, can you select "Best Answer" so students with similar questions can benefit from it more easily? Thanks!