--- id: 61fd7648a7ba2e5882436831 title: Step 12 challengeType: 0 dashedName: step-12 --- # --description-- Within your `tbody` element, add four `tr` elements. Give the first three a `class` attribute set to `data`, and the fourth a `class` attribute set to `total`. # --hints-- Your `tbody` element should have four `tr` elements. ```js const children = [...document.querySelector('tbody')?.children]; assert(children?.length === 4); children.forEach(child => assert(child?.localName === 'tr')); ``` Your first three `tr` elements should have the `class` attribute set to `data`. ```js const children = [...document.querySelector('tbody')?.children]; children.forEach((child, index) => { if (index < 3) { assert(child?.classList?.contains('data')); } }); ``` Your fourth `tr` element should have the `class` attribute set to `total`. ```js const children = [...document.querySelector('tbody')?.children]; assert(children?.[3]?.classList?.contains('total')); ``` # --seed-- ## --seed-contents-- ```html Balance Sheet

AcmeWidgetCorp Balance Sheet

--fcc-editable-region-- --fcc-editable-region--
Assets
2019 2020 2021
``` ```css ```