--- id: 615f7c71eab8218f846e4503 title: Step 50 challengeType: 0 dashedName: step-50 --- # --description-- After your last `.divider`, create another `p` element with the text `Trans Fat 0g`. Italicize the word `Trans` by wrapping it in an `i` element. Give the new `p` element the `class` attribute set to `indent no-divider`. # --hints-- You should create a new `p` element at the end of your `.daily-value.sm-text` element. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.localName === 'p'); ``` Your new `p` element should have the text `Trans Fat 0g`. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.innerText === 'Trans Fat 0g'); ``` Your new `p` element should have the `class` attribute set to `indent no-divider`. ```js const p = document.querySelector('.daily-value.sm-text')?.lastElementChild; assert(p?.classList?.contains('indent')); assert(p?.classList?.contains('no-divider')); ``` Your new `p` element should have an `i` element. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.firstElementChild?.localName === 'i'); ``` Your `i` element should wrap the text `Trans`. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.firstElementChild?.innerText === 'Trans'); ``` # --seed-- ## --seed-contents-- ```html
8 servings per container
Serving size 2/3 cup (55g)
Amount per serving
% Daily Value *
Total Fat 8g10%
Saturated Fat 1g 5%
--fcc-editable-region--