Learn more about css pseudo selectors by building a balance sheet step-21

I am getting an error saying I should have three td elements. I am sure I have all three so what am I missing??

[Learn more about css pseudo selectors by building a balance sheet step-21]

Step 21

Within the first tr, add a th element with the text Loans The outstanding balance on our startup loan. Wrap that text, except for Loans , within a span element with the class set to description.

Add three td elements below that, and give them the following text, in order: $500, $250, and $0. Give the third td element a class set to current.

My code…

          <tr class="data">
            <th> Loans <span class="description">The outstanding balance on our startup loan.</span></th>
          </tr>
          <tr class="data">
            <td>$500</td>
          </tr>
          <tr class="data">
          <td>$250</td>
          </tr>
          <tr class="total">
            <td class="current">$0</td>
          </tr>

Hi there, welcome to the forum!

Please post a link to the step you are on to facilitate a response to your question.

It looks like they just wanted all the new elements to be added to the first tr. so I would move the td elements there in the required order.

1 Like

oh… I’m an idiot. thank you!

It isn’t super clear. Don’t beat yourself up.

1 Like