My Figure caption not working

Good afternoon to everyone please help me here I am building a Tribute page
but the figure caption not working properly

<div id="img-div">
                <figure>
                    <img id="image" src="mandela-featured-image1.png" alt="The anti-apartheid leader"> 
                    <figcaption id="img-caption">
                        South African anti-apartheid revolutionary, political leader, 
                        and philanthropist who served as President of South Africa from 1994 to 1999
                    </figcaption>                     
                </figure>
   </div>

please explain what it is happening and what you want to happen instead

Hi Mountaga,

I just finished my tribute page and this is what I did to pass…

<div id="img-caption"> <p>caption of your image</p></div>

Hope this helps!

I want use the figcaption to describe the image

this one not working for me please check up my <div>

I’m not sure if mine is correctly done but it let me pass.

I tried to use <figcaption> but it wouldn’t let me pass. So I went ahead and used <div id="img-caption"> and put my image caption in <p></p>.

The HTML appears to be correct, so something else must be causing your problem. Can you link your codepen? Without seeing your code there’s not much more that can be said.

Ok I coming let me see

Hello sorry I was writing the code first on my laptop before starting dropping the code in my code pen, now I want to use it can you tell me how it works? I already sign up.