Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 58

Tell us what’s happening:

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

this is the important part of my code

the error message is ;
“You should have a tr.total td:nth-of-type(3) selector”

I literally copied and pasted the selector and the same message appears
HELP PLEASE

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

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


/* User Editable Region */

Your browser information:

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

Challenge Information:

Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 58

Hi and welcome to the forum :wave:

This is correct, reset it an try it again.

You may have accidentally changed something else (like removing the closing bracket of the previous clause?)

edit: resetting it indeed worked thank you!

1 Like