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

Tell us what’s happening:

tr.data {
background-image: linear-gradient(to bottom, #dfdfe2 1.845rem, white 1.845rem);
}
this code giving me the error of “you should have a tr.data selector”. can anyone hplease help me to rectify the error

Your code so far

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

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

tr.data {
  background-image: linear-gradient(to bottom, #dfdfe2 1.845rem, white 1.845rem);
}

/* 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/130.0.0.0 Safari/537.36

Challenge Information:

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

Hi there and welcome to our community!

Your code looks correct to me, although there may be an error elsewhere. Have you lost the closing curly bracket from the previous selector perhaps?

If you can’t see an error in your code, please share your full code, so that we can help.

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