Need HELP! with image-caption and many other things

I am stuck on “image caption” and wondering if my title’s paragraph has somehow bullied its way into that position.

Hello bonheur.

Could you please edit your post, adding in the code you are referring to, and/or the challenge you are referring to. We cannot help without that.

Cheers

Of course! But I don’t really know what you’re talking about. A hint?

You have asked for help with “image-caption”, but have not given code you have tried, or explained what you are trying to accomplish.

Also, you have referred to “[your] title’s paragragh”, but have not told us what that is.

What do you mean by

?

I have been using the test suite on codepen and clicked on “ask for help”. I thought that sent my entire tribute project to the forum, code and all.

User Story #2: I should see an element with a corresponding id="title" , which contains a string (i.e. text) that describes the subject of the tribute page (e.g. “Dr. Norman Borlaug”)… I made the string into a paragraph. That’s what I mean by my title’s paragraph.

So I am happy to send what I have done so far but still not sure how to do that.

I hope my questions are more clear now. To you.

Thank you

1 Like

PS…

Ok, I see where the miscommunication was. Sometimes, the post on the forum is not automatically populated.

To answer the question:
This is where one of the issues is:

<img-caption="How dare you pretend that this can be solved with business as usual and some technical solutions?><img-caption>

img-caption is not an HTML element, and, therefore, cannot be used as an HTML tag.
<figcaption> is an HTML element, and you may use it, but the way you have used the div above the previous code is almost correct; you just need to add text-content to the div with an id=img-caption.

So, remove the <img-caption> stuff, and replace it with what you want the caption to say.

Hope this helps.

Thank you. That did work.

Not only is html a new language for me but so is the English on the forum. For instance, “the post on the forum is not automatically populated”. If that were not on an html site I would be flummoxed. This is not irony or criticism. You express yourself well. It’s just a new English to me. And English is my native tongue. Not whining…it’s interesting.

Thanks again.

1 Like

It did work and thank you!

Since the img-caption worked in the div element I deleted something I had in CSS under “figcaption”. My caption stayed in place and the font I chose for it, but the background color disappeared…? I am sending it all back minus the background color and the figcaption CSS. I thought the over-all background happened in the CSS for “main”. The CSS I took out had no background color in it.? What happened? Can I undo that in codepen? I keep feeling like I’m on the edge of an epiphany only to fall flat on my face [again].

I got the color back in all the elements except the image.