--- id: 5dfa3589eacea3f48c6300ae title: Step 17 challengeType: 0 dashedName: step-17 --- # --description-- Within the second `section` element, add a new `h2` element with the text `Cat Lists`. # --hints-- Your `section` element should have an opening tag. Opening tags have this syntax: ``. ```js assert( document.querySelectorAll('section').length === 2 && code.match(/<\/section>/g).length === 2 ); ``` Your `h2` element should have an opening tag. Opening tags have this syntax: ``. ```js assert(document.querySelectorAll('h2').length === 2); ``` Your `h2` element should have a closing tag. Closing tags have a `/` just after the `<` character. ```js assert(code.match(/<\/h2\>/g).length === 2); ``` Your second `h2` element should be right above the second `section` element's closing tag. It is not in the correct position. ```js const secondSection = document.querySelectorAll('section')[1]; assert(secondSection.lastElementChild.nodeName === 'H2'); ``` The second `h2` element should have the text `Cat Lists`. You have either omitted the text or have a typo. ```js assert( document .querySelectorAll('main > section')[1] .lastElementChild.innerText.toLowerCase() === 'cat lists' ); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Cat Photos

Click here to view more cat photos.

A cute orange cat lying on its back.
--fcc-editable-region--
--fcc-editable-region--
```