I think my finished table looks a lot like the one in the image provided, but this is a task that’s a bit more difficult to self assess. https://codepen.io/SnakeWhisperer/pen/mdWbprp Looks a bit different in codepen, actually, but much more similar in the MDN page.
I would also like to ask a question about
border-collapse, if I can.
Why can’t I define borders for
<tfoot>, or even
border-collapse: separate? I know it’s better to collapse them and it’s the idea of the task, but I noticed this and I’m trying to understand it. I had forgotten to set
border-collapse: collapse and realized that the whole table took its borders, but not the
<tfoot>. Tried with
<tbody> but didn’t work either.
<tr>s didn’t work either.
I know there is a separation between cells with
border-collapse: separate; however, if
<tr> is still a single element, what happens to its borders? Same goes for
Thanks in advance.