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 trialsvenvanzijl
573 PointsFinally, add a caption that describes the image. Im i doing something wrong?
Dear Teamtreehouse Community,
I have some problem completing this Task It asks me to add the caption and so far I know I have added that.
our did I miss understanding the question?
<!DOCTYPE html>
<html>
<head>
<title>The Moon</title>
</head>
<body>
<img src="img/moon.jpg" alt=" Neil Armstrong's was the first person that landed in 1969 on the moon"
title="some people still believe that the moon landing on 1969 was a fake what do you think is it real our not!"
<figcaption>
The Moon (or Luna) is the Earthβs only natural satellite and was formed 4.6 billion years ago around some 30β50
million years after the formation of the solar system. The Moon is in synchronous rotation with Earth meaning the
same side is always facing the Earth. The first unmanned mission to the Moon was in 1959 by the Soviet Lunar Program with the
first manned landing being Apollo 11 in 1969.
</figcaption>
</body>
</html>
3 Answers
Alexandra Edwards
4,686 PointsHi Sven,
It looks like you're missing a couple things. One of those things is just an end bracket > to enclose your image tag. The second is your <figure></figure> tags before and after the figcaption tags.
Does that help? Let me know if you need anything else! :)
Elijah Quesada
Front End Web Development Techdegree Graduate 32,965 PointsYou need to close the img tag with a >. You left it open.
<img src="img/moon.jpg" alt=" Neil Armstrong's was the first person that landed in 1969 on the moon"
title="some people still believe that the moon landing on 1969 was a fake what do you think is it real our not!" >
<figcaption>
svenvanzijl
573 Pointslol is keep forgetting that little guy always for some reason! :P Thx!
svenvanzijl
573 PointsThx! for your help!
Christopher Velez
226 PointsTwo things: Your img tag is missing a closing angled bracket and if I remember correctly, figcaption can only go inside of a <figure> tag. I think you'll need to wrap your <img> and <figcaption> tags in a <figure> tag for this to validate.
svenvanzijl
573 PointsThx! for you help :)
svenvanzijl
573 Pointssvenvanzijl
573 Pointswill a <figcaption></figcaption> always go into a <figure></figure> ? Thx! :)
Alexandra Edwards
4,686 PointsAlexandra Edwards
4,686 PointsYep! You're welcome :)