--- id: 5ef9b03c81a63668521804da title: Part 41 challengeType: 0 isHidden: true --- ## Description
Use the `button` element to create a clickable button. For example, `` creates a button with the text `Click Here`. Add a `button` element with the text `Submit` below the `input` element. Note the default behavior of clicking a form button with any attributes submits the form to the location specified in the form's `action` attribute.
## Tests
```yml tests: - text: 'Your `button` element should have an opening tag. Opening tags have this syntax: ``.' testString: assert( document.querySelector('button') ); - text: Your `button` element should have a closing tag. Closing tags have a `/` just after the `<` character. testString: assert( code.match(/<\/button\>/) ); - text: Your `button` element's text should be 'Submit'. You have either omitted the text or have a typo. testString: assert( document.querySelector('button').innerText.toLowerCase() === 'submit' ); - text: Your `button` element should be below the `input` element. You have them in the wrong order. testString: const collection = [...document.querySelectorAll('input, button')].map(node => node.nodeName); assert( collection.indexOf('INPUT') < collection.indexOf('BUTTON') ); ```
## 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.

Cat Form

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