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

Tell us what’s happening:

I have already added one tr element to my tbody element, it still asks me to have one tr element

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->

          <table>
            <caption>Net Worth</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>
<!---This is the tr element -->
          <tr class="total">Total<span>Net Worth</span> </tr>
          <td>$-171</td>
          <td>$136</td>
          <td class="current">$334</td>
            </tbody>
          </table>

<!-- User Editable Region -->
/* file: styles.css */

Your browser information:

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

Challenge Information:

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

Hi there!
You need to nest your other element between the tr opening and closing tags. Also you have missing the th element, that instructions is asking you to add.

2 Likes