--- id: 615f51e4e5b24a6e80eccce1 title: Step 30 challengeType: 0 dashedName: step-30 --- # --description-- Within your `.calories-info` element, create a `p` element. Give that `p` element a `class` attribute set to `bold sm-text`, and the text `Amount per serving`. # --hints-- You should create a new `p` element within your `.calories-info` element. ```js assert(document.querySelector('.calories-info')?.children?.[0]?.localName === 'p'); ``` Your new `p` element should have a `class` attribute set to `bold sm-text`. ```js assert(document.querySelector('.calories-info')?.children?.[0]?.classList.contains('bold')); assert(document.querySelector('.calories-info')?.children?.[0]?.classList.contains('sm-text')); ``` Your new `p` element should have the text `Amount per serving`. ```js assert(document.querySelector('.calories-info')?.children?.[0]?.innerText === 'Amount per serving'); ``` # --seed-- ## --seed-contents-- ```html
8 servings per container
Serving size 2/3 cup (55g)