Hi Guys,
I’m looking for some help. I’ve just completed the test for styling tables with CCS but struggled a little.
Firstly, I was hoping for some feedback on my use of the class attributes/selector to target column 2 and 3 for text-align. I feel like there might be a more suitable way to do this?
Secondly, I’m struggling to add a top border on the table foot. As you can see from my code (link below), I’ve made an attempt (tfoot {
border-top; solid grey 1px;
}) which I thought would work.
I’ve also linked to the MDN test below.
Code - https://codepen.io/JaredCave/pen/vYNrBeB
Thanks in advance!
Regards,
Jared