---
id: 61fd7b3fcaa5406257abc5d1
title: Step 17
challengeType: 0
dashedName: step-17
---
# --description--
Time to move on to your second table. Start by giving it a `caption` element set to `Liabilities`. Then add your `thead` and `tbody`.
# --hints--
Your second `table` element should have a `caption` element.
```js
assert(document.querySelectorAll('table')?.[1]?.children?.[0]?.localName === 'caption');
```
Your `caption` element should have the text `Liabilities`.
```js
assert(document.querySelectorAll('table')?.[1]?.querySelector('caption')?.textContent === 'Liabilities');
```
Your second `table` element should have a `thead` element.
```js
assert(document.querySelectorAll('table')?.[1]?.querySelector('thead'));
```
Your second `table` element should have a `tbody` element.
```js
assert(document.querySelectorAll('table')?.[1]?.querySelector('tbody'));
```
Your `thead` element should be immediately below your `caption` element.
```js
assert(document.querySelectorAll('table')?.[1]?.querySelector('caption')?.nextElementSibling?.localName === 'thead');
```
Your `tbody` element should be immediately below your `thead` element.
```js
assert(document.querySelectorAll('table')?.[1]?.querySelector('thead')?.nextElementSibling?.localName === 'tbody');
```
# --seed--
## --seed-contents--
```html