--- id: 61fd9a4ff2fc4481b9157bd7 title: Step 25 challengeType: 0 dashedName: step-25 --- # --description-- For your third table, add a `caption` with the text `Net Worth`, and set up a table header and table body. # --hints-- Your third `table` element should have a `caption` element. ```js assert(document.querySelectorAll('table')?.[2]?.children?.[0]?.localName === 'caption'); ``` Your `caption` element should have the text `Net Worth`. ```js assert(document.querySelectorAll('table')?.[2]?.querySelector('caption')?.textContent === 'Net Worth'); ``` Your third `table` element should have a `thead` element. ```js assert(document.querySelectorAll('table')?.[2]?.querySelector('thead')); ``` Your third `table` element should have a `tbody` element. ```js assert(document.querySelectorAll('table')?.[2]?.querySelector('tbody')); ``` Your `thead` element should be immediately below your `caption` element. ```js assert(document.querySelectorAll('table')?.[2]?.querySelector('caption')?.nextElementSibling?.localName === 'thead'); ``` Your `tbody` element should be immediately below your `thead` element. ```js assert(document.querySelectorAll('table')?.[2]?.querySelector('thead')?.nextElementSibling?.localName === 'tbody'); ``` # --seed-- ## --seed-contents-- ```html Balance Sheet

AcmeWidgetCorp Balance Sheet

Assets
2019 2020 2021
Cash This is the cash we currently have on hand. $25 $30 $28
Checking Our primary transactional account. $54 $56 $53
Savings Funds set aside for emergencies. $500 $650 $728
Total Assets $579 $736 $809
Liabilities
2019 2020 2021
Loans The outstanding balance on our startup loan. $500 $250 $0
Expenses Annual anticipated expenses, such as payroll. $200 $300 $400
Credit The outstanding balance on our credit card. $50 $50 $75
Total Liabilities $750 $600 $475
--fcc-editable-region--
--fcc-editable-region--
``` ```css ```