Instructions:
The :nth-of-type()
pseudo-selector is used to target specific elements based on their order among siblings of the same type. Use this pseudo-selector to target the third td
element within your total
table rows. Give it a right padding of 0.5rem
.
tr.total td:last-of-type(3) {
padding-right: 0.5rem
Hint:
You should have a tr.total td:nth-of-type(3)
selector.
Your browser information:
Challenge: Step 57
Link to the challenge: