--- id: 5ef9b03c81a63668521804d6 title: Part 34 challengeType: 0 dashedName: part-34 --- # --description-- Now you will add a web form to collect information from users. After the `Cat Form` heading, add a `form` element. # --hints-- Your `form` element should have an opening tag and closing tag. You may be missing one or both of the required tags, or have them in the wrong order. ```js assert(document.querySelector('form') && code.match(/<\/form>/g)); ``` Your `form` element tags are not in the correct order. ```js const noSpaces = code.replace(/\s/g, ''); assert(noSpaces.indexOf('
') < noSpaces.indexOf('
')); ``` The `form` element nested in the last `section` element should be below the `h2` element. You have the `h2` element and the `form` element in the wrong order. ```js assert(document.querySelector('form').previousElementSibling.nodeName === 'H2'); ``` The `form` element should have no content. Remove any HTML elements or text between the `form` element's tags. ```js assert($('form')[0].innerHTML.trim().length === 0); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Cat Photos

Click here to view more cat photos.

A cute orange cat lying on its back.

Cat Lists

Things cats love:

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--

Cat Form

--fcc-editable-region--
```