--- id: 6193ff6c2a6138658b4ce2af title: Step 39 challengeType: 0 dashedName: step-39 --- # --description-- Your rows need some background color to help differentiate the data. The `:nth-child()` selector allows you to target elements based on their position in a group of sibling elements. Create a `.row:nth-child(odd)` selector to target all `.row` elements that are an odd child (child 1, child 3, etc). Give this selector a `background-color` property set to `#dfdfe2`. # --hints-- You should have a new `.row:nth-child(odd)` selector. ```js assert(new __helpers.CSSHelp(document).getStyle('.row:nth-child(2n+1)')); ``` Your `.row:nth-child(odd)` selector should have a `background-color` property set to `#dfdfe2`. ```js assert(new __helpers.CSSHelp(document).getStyle('.row:nth-child(2n+1)')?.backgroundColor === 'rgb(223, 223, 226)'); ``` # --seed-- ## --seed-contents-- ```html
2019 2020 2021
Cash $25 $30 $28
This is the cash we currently have on hand.Checking $54 $56 $53
Our primary transactional account.Savings $500 $650 $728
Funds set aside for emergencies.Total $579 $736 $809
Loans $500 $250 $0
The outstanding balance on our startup loan.Expenses $200 $300 $400
Annual anticipated expenses, such as payroll.Credit $50 $50 $75
The running balance on our line of credit.Total $750 $600 $475
Total $-171 $136 $334