--- id: 5ef9b03c81a63668521804d5 title: Part 33 challengeType: 0 --- ## Description
Inside the third `section` element add an `h2` tag with the text `Cat Form`.
## Tests
```yml tests: - text: "Unable to find the third `section` element. You may have accidentally deleted it or the opening tag or closing tag." testString: | assert( document.querySelectorAll('section').length === 3 && code.match(/<\/section>/g).length === 3 ); - text: Your `h2` element should have an opening tag and closing tag. You may be missing one or both of the required tags. testString: | assert( document.querySelectorAll('h2').length >= 3 && code.match(/<\/h2>/g).length >= 3 ); - text: You should only add one `h2` element. Please remove any extras. testString: assert( document.querySelectorAll('h2').length === 3 ); - text: The new `h2` element should be located right above the third `section` element's closing tag. testString: | const thirdSection = document.querySelectorAll('section')[2]; assert( thirdSection.lastElementChild.nodeName === 'H2' ); - text: Your `h2` element's text should be `Cat Form`. testString: | const thirdSection = document.querySelectorAll('section')[2]; assert( thirdSection.querySelector('h2').innerText.toLowerCase().replace(/\s+/g, ' ') === 'cat form' ); ```
## Challenge Seed
```html

CatPhotoApp

Cat Photos

Click here to view more cat photos.

A cute orange cat lying on its back.

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--
--fcc-editable-region--
```