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 trial

HTML One Solution

<figcaption> vs <strong>?

In the video, he replaced the <h3> tags with <strong> tags in order to convey the same level of importance.

I instead used a <figure> element. I nested the <img> as well as the text, but had placed the text in a <figcaption> tag in order to have it "connect" to the picture. I personally like the way it looks better than the solution given...

My question is, is this wrong? Or is it just another way of doing the same thing? I'd rather have input from others who understand this a bit better than myself.

Thanks!

1 Answer

This sounds perfectly legit to me. If the person in the video is downgrading the wording to strong from h3, then I assume that section titling isn’t required here. Provided your text is indeed a caption to the image then this can only be a good thing.