--- id: 6194108c6951ca7cae9596bd title: Step 47 challengeType: 0 dashedName: step-47 --- # --description-- The `elem1 > elem2` selector allows you to target all `elem2` elements that are a direct child of an `elem1` element. Create a `div > h2` rule to target all of your `h2` elements that are a direct child of a `div` element. Give the selector a `background-color` property set to `#99c9ff`. # --hints-- You should have a new `div > h2` selector. ```js assert(new __helpers.CSSHelp(document).getStyle('div > h2')); ``` Your `div > h2` selector should have a `background-color` property set to `#99c9ff`. ```js assert(new __helpers.CSSHelp(document).getStyle('div > h2')?.backgroundColor === 'rgb(153, 201, 255)'); ``` # --seed-- ## --seed-contents-- ```html AcmeWidgetCorp Balance Sheet

Assets

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

Liabilities

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

Net Worth

Total $-171 $136 $334

``` ```css body { text-align: center; font-family: Tahoma; color: #0a0a23; } #sheet { text-align: left; max-width: 500px; margin: auto; padding: 10px; border: 2px solid #d0d0d5; } #header h2 { font-size: 1.3em; } .row:nth-of-type(odd) { background-color: #dfdfe2; } .row:nth-of-type(even) { background-color: #d0d0d5; } .row:last-child { background-color: transparent; margin-bottom: 30px; } p[class~="total"] { border-bottom: 4px double #0a0a23; font-weight: bold; } .row { display: flex; justify-content: flex-end; border-bottom: 1px solid #0a0a23; padding: 4px; } span:not(.name) { margin-left: 10px; min-width: 15%; text-align: right; } span[class="current"] { font-style: italic; } .name { width: 100%; text-align: left; } .row[tabindex]:hover { background-color: #99c9ff; } --fcc-editable-region-- --fcc-editable-region-- ```