--- id: 615f887466db4ba14b5342cc title: Passo 60 challengeType: 0 dashedName: step-60 --- # --description-- Após o último divisor, crie outro elemento `p` e dê a ele o texto `Protein 3g`. Use as classes necessárias para remover a borda inferior e um `span` para deixar `Protein` em negrito. Depois desse elemento, crie um divisor grande. # --hints-- Você deve criar novos elementos `p` e `div` ao final do elemento `.daily-value.sm-text`. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.previousElementSibling?.localName === 'p'); assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.localName === 'div'); ``` O novo elemento `p` deve ter o texto `Protein 3g`. ```js assert(document.querySelector('.daily-value.sm-text p:last-of-type')?.innerText.match(/Protein[\s|\n]+3g/)); ``` O novo elemento `p` deve ter o atributo `class` definido como `no-divider`. ```js assert(document.querySelector('.daily-value.sm-text p:last-of-type')?.classList?.contains('no-divider')); ``` A nova `div` deve ter o atributo `class` definido como `divider lg`. ```js assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.classList?.contains('divider')); assert(document.querySelector('.daily-value.sm-text')?.lastElementChild?.classList?.contains('lg')); ``` # --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%
Trans Fat 0g
Cholesterol 0mg 0%
Sodium 160mg 7%
Total Carbohydrate 37g 13%
Dietary Fiber 4g
Total Sugars 12g
Includes 10g Added Sugars 20%
--fcc-editable-region--