Learn More About CSS Pseudo Selectors By Building A Balance Sheet- Step 19

Hi, I keep getting the error that : “ Each of your th elements should have a span element.” I can’t figure out what I’m doing wrong.

<caption>Liabilities</caption>
<thead>
    <tr>
        <td></td>
        <th><span class="sr-only">2019</span></th>
        <th><span class="sr-only">2020</span></th>
        <th><span class="sr-only">2021</span></th>
    </tr>
</thead>
<tbody>
 
</tbody>

Hey there!
Please link your topic to the challenge step, For better assistance.
@Dominique500

Tell us what’s happening:

I’m getting the error that the “th” element should have a span

Your code so far

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

<!-- User Editable Region -->

<table>
    <caption>Liabilities</caption>
    <thead>
        <tr>
            <td></td>
            <th><span class="sr-only">2019</span></th>
            <th><span class="sr-only">2020</span></th>
            <th><span class="sr-only">2021</span></th>
        </tr>
    </thead>
    <tbody>
     
    </tbody>
</table>



<!-- User Editable Region -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15

Challenge Information:

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

Hi @Dominique500

Your code passes.
Reset the step and try again. If that doesn’t work, refresh the page, disable dark mode, disable ad blockers. Or, use another browser.
If the above steps do not work, you may need to restart the computer.

Also, please do not open multiple posts for the same topic.

Happy coding