Tell us what’s happening:
What seems to be the problem with my code?
Hint: You should have a tr.total td:nth-of-type(3)
selector.
Your code so far
tr.total td:nth-of-type(3) {
padding: 0.5rem;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 57
Link to the challenge:
tufu
2
Hi, you can try to read Hint
you may miss adding direction after padding
tr.total td:nth-of-type(3) {
padding-??? : 0.5rem;
}
tr.total td:nth-of-type(3) {
padding-right: 0.5rem;
}
sorry for the wrong property. But Still not working on my end.
tufu
4
It should work, at least i passed. Could you attach the hint it displayed ?
Hey! it looks like you forgot to close the tr.total td
selector’s code block before you started the new selector which is causing this error.
1 Like
didnt realize it. I’ll be careful nextime. Thank you so much
1 Like
system
Closed
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.