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

Tell us what’s happening:

it says there should be one tr element within your tbody and i have that

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> 
              <tr class="total"><th>Total <span class="sr-only">Net Worth<span></th></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/124.0.0.0 Safari/537.36

Challenge Information:

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

These elements should be inside your <tr> element.

Because you closed it on the same line here:

1 Like