Tell us what’s happening:
The last part of your table heading is your years. Create a #years selector, and enable flexbox. Justify the content to the end of the flex direction, and make the element sticky. Fix it to the top of its container with 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/130.0.0.0 Safari/537.36
Challenge Information:
Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 40