Tribute Tage - completed but used ugly workaround for centreing caption

Tribute Tage - completed but used ugly workaround for centreing caption
0

#1

Here is my tribute page: https://surogo.github.io/fcc-tribute-page/
And the code: https://github.com/Surogo/fcc-tribute-page

I’d be grateful for any comments. In particular I had trouble getting a fig-caption element (within a figure element) to centre when inside a div class=“row” element. I commented this in the code.
Any thoughts? :slight_smile:


#2

Hi! Good job! The figcaption is actually center-aligned, but it’s aligned among its width, that equals with its content. You should apply the text-center class to the figure tag instead of to the figcaption. I hope this could be helpful.


#3

Thanks for your help @dem-s, that works. I’ve amended my code.