Positioning of div elements corresponded with images

Hi. I’m a little fetus when it comes to coding, and I’ve got a school project due tomorrow. How do I position 4 div elements on the same line, with pictures positioned exactly underneath them? Thanks!!

sounds like you need display: inline-block if you want it simple, or something a little more complicated with flexbox or even a grid.

a table is also an option. So many possibilities

1 Like

Thanks so much of your response. But I’ve already figured out another way. But maybe this way is better than the way I did.

i just listed what came to mind, so many ways to do this. Doesn’t mean my approach is better.

How did you do it?