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

Kindly help me fix the code below
does not pass even with a period after Assets
hint: Your th element should have the text Total Assets .

<tr class="total">
      
      <th>Total<span class="sr-only">Assets</span></th>
      <td>$579</td>
      <td>$736</td>
      <td class="current">$809</td>


            
  </tr>

The three ‘td’ elements should be put within ‘th’ element. The closing ‘th’ tag goes after the last ‘td’ element, and you should make a blank space between “Total” and “Assets” by adding a blank after the text “Total”.

Thanks for the reply but its not passing
requirements:
In your fourth tr element, add a th element with the text Total Assets. Wrap the text Assets in a span element with the class attribute set to sr-only.

Following that, add three td elements with the following text (in order): $579, $736, $809. Give the third td element a class attribute set to current.

<tr class="total">
      
      <th>Total<span class="sr-only">Assets</span></th>
      <td>$579</td>
      <td>$736</td>
      <td class="current">$809</td>


            
  </tr>

As I said, the ‘th’ element’s tags surround all ‘td’ elements, but you posted the same code again. The order should look like this:

<th>Total <span>Assets</span>
<td></td>
<td></td>
<td></td>
</th>

Now you see where you should add a blank space. For now, it looks like “TotalAssets”

Thanks just passed

<tr class="data">
        <th>
              Total
            <span class="sr-only">Assets</span>
            <td>$579</td>
            <td>$736</td>
            <td class="current">$809</td>
        </th>
 </tr>
1 Like

Yes i did add a blank space too

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