--- id: 5ef9b03c81a63668521804df title: Part 45 challengeType: 0 dashedName: part-45 --- # --description-- The `id` attribute is used to identify specific HTML elements. Each `id` attribute's value must be unique all other `id` values for the entire page. Add an `id` attribute with the value `indoor` to the radio button. When elements have multiple attributes, the order of the attributes doesn't matter. # --hints-- Your radio button should still be located between the opening and closing tags of the `label` element. ```js const labelChildNodes = [...$('form > label')[0].childNodes]; assert( labelChildNodes.filter((childNode) => childNode.nodeName === 'INPUT').length ); ``` Your radio button should have an `id` attribute. Check that there is a space after the opening tag's name and/or there are spaces before all attribute names. ```js assert($('input')[0].hasAttribute('id')); ``` Your radio element should have an `id` attribute with the value `indoor`. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks. ```js assert($('input')[0].id.match(/^indoor$/)); ``` # --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.

Cat Form

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