Balance Sheet Step57

Tell us what’s happening:
Step 57
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 .

Hint: You should have a tr.total td:nth-of-type(3) selector.

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

tr.total td:nth-of-type(3) {
padding-right: 0.5rem;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36

Challenge: Step 57

Link to the challenge:

1 Like

please describe your problem

I can’t complete step 57 because for some reason the code that I wrote doesn’t match what they want, even though I can’t see any difference in the code.

this test seems to be strict with spacing
remove the space before the curly bracket

I did, it’s not the solution.

tr.total td:nth-of-type(3){
padding-right: 0.5rem;
}

well this code passed on my end , do you have ad blockers on? or dark mode enabled on browser, if no try restarting the step and typing the code as seen above

I copied my code that I had written, refreshing the page and restarting the step. For whatever reason that worked. Thank you!

1 Like

Hi @agustwiller

Your code is correct. Reboot browser and erase cache if it is necessary.
It could just antivirus problem, or blocker or even they server.
Good luck,

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.