The program is telling me I do not have a closing figure caption when I do
I have a closing figure tag on the line under the last <figcaption> but the program is telling me I still need a closing <figure> tag. Not sure what is wrong.
<!DOCTYPE html> <html> <head> <title>The Moon</title> </head> <body> <figure> <img src="img/moon.jpg" alt="Image Description"> <figcaption> WORK DAMMIT <figcaption> <figure> </body> </html>
Nick Renteria10,258 Points
Hi Samantha. It looks like the problem is that the closing figcaption tag does not have the / in the front; it should be:
<figcaption> WORK DAMMIT </figcaption>
Without that forward slash in the beginning of the tag it is read like another opening figcaption tag rather than a closing one. It would also be the same with the figure tag. I hope this helps! :)