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

Tell us what’s happening:
Your td element should be empty. What ??
Your code so far

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

```text
Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
```

**Your browser information:**

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

**Challenge:**  Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 26

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/step-26

Yes, your td element should be empty. move the th elements out of the td element.

I don’t understand :sweat_smile: :sweat_smile:

Don’t nest <th> inside <td>
Hint: your code should be like this

<td></td>
<th>....
1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.