--- id: 615f74a71f1e498619e38ee8 title: Step 47 challengeType: 0 dashedName: step-47 --- # --description-- I bordi inferiori sotto gli elementi `% Daily Value *` e `Saturated Fat 1g 5%` non occupano l'intera larghezza dell'etichetta. Aggiungi `no-divider` all'attributo `class` per questi due elementi. # --hints-- L'elemento `p` con il testo `% Daily Value *` dovrebbe avere `no-divider` aggiunto all'attributo `class`. Non rimuovere le classi esistenti. ```js const p = document.querySelector('.daily-value.sm-text')?.firstElementChild; assert(p?.classList?.contains('no-divider')); assert(p?.classList?.contains('bold')); assert(p?.classList?.contains('right')); ``` L'elemento `p` con il testo `Saturated Fat 1g 5%` dovrebbe avere `no-divider` aggiunto all'attributo `class`. Non rimuovere le classi esistenti. ```js const p = document.querySelector('.daily-value.sm-text')?.lastElementChild; assert(p?.classList?.contains('no-divider')); assert(p?.classList?.contains('indent')); ``` # --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%