Tell us what’s happening:
I am on Step 27. The instructions say "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
." I might be blind because I cannot see my mistake. The error says “Yourtbody
element should have one tr
element.” I believe I only have one tr element below the body element. I’m coming on here for a second set of eyes to PLEASE check, correct, and tell me what is going on.
Your code so far
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
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 (X11; CrOS x86_64 14526.89.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.133 Safari/537.36
Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 27
Link to the challenge: