This was the assignment: Step 27
Within the tbody
, add a tr
with the class
set to total
. In that, add a th
with the text Total Net Worth
, and wrap Net Worth
in a span
with the class
set to sr-only
.
Then add three td
elements, giving the third a class
set to current
, and giving each the following text: $-171
, $136
, $334
.
As such, I did the following:
Total Net Worth
$-171
$136
$334
and it keeps saying this:
Sorry, your code does not pass. Keep trying.
Your tbody
element should have one tr
element.
So why can’t I get it to recognize that there is in fact a element looking it in the booty hole?
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
<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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 27
Link to the challenge: