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

Tell us what’s happening:

Why am I still getting the " You should have #years selector error??

#years {
display: flex;
justify-content: flex-end;
position: sticky;
top: 0;
}

Your code so far

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

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


#years {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
}

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

Challenge Information:

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

check if there is an error in the css above, maybe a missing }?

I have checked and there’s nothing missing

can you share your code above?

alternatively, reset the step and try again

yeah resetting helped