--- id: 5f07fb1579dc934717801375 title: Part 32 challengeType: 0 dashedName: part-32 --- # --description-- It is time to add a new section. Add a third `section` element below the second `section` element. # --hints-- Your `section` element should have an opening tag. Opening tags have this syntax: ``. ```js assert(document.querySelectorAll('section').length >= 3); ``` You should only add one opening `section` tag. Please remove any extras. ```js assert(document.querySelectorAll('section').length === 3); ``` Your `section` element should have a closing tag. Closing tags have a `/` just after the `<` character. ```js assert(code.match(/<\/section>/g).length >= 3); ``` You should only add one closing `section` tag. Please remove any extras. ```js assert(code.match(/<\/section>/g).length === 3); ``` All of the `section` elements should be between the opening and closing tags of the `main` element. ```js const childrenOfMain = [...document.querySelector('main').children]; const sectionElemsFound = childrenOfMain.filter((child) => { return child.nodeName === 'SECTION'; }); assert(sectionElemsFound.length === 3); ``` The last `section` element should have no content. Remove any HTML elements or text within the `section` element. ```js assert($('main > section')[2].children.length === 0); ``` # --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--

Cat Lists

Things cats love:

  • cat nip
  • laser pointers
  • lasagna
A slice of lasagna on a plate.
Cats love lasagna.

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Five cats looking around a field.
Cats hate other cats.
--fcc-editable-region--
```