---
id: 5ef9b03c81a63668521804dd
title: Part 44
challengeType: 0
isHidden: true
---
## Description
`label` elements are used to help associate the text for an `input` element with the input element itself (especially for assistive technologies like screen readers). For example, `` makes it so clicking the word `cat` also selects the corresponding radio button.
Nest your `radio` button inside a `label` element.
## Tests
```yml
tests:
- text: You should make sure the radio button is still present.
testString: assert( $('input[type="radio"]')[0] );
- text: The text ` Indoor` should be located directly to the right of your `radio` button. Make sure there is a space between the element and the text. You have either omitted the text or have a typo.
testString: |
const radioInputElem = $('input')[0];
assert( radioInputElem.nextSibling.nodeValue.replace(/\s+/g, ' ').match(/ Indoor/i) );
- text: 'Your `label` element should have an opening tag. Opening tags have this syntax: ``.'
testString: assert( document.querySelector('label') );
- text: Your `label` element should have a closing tag. Closing tags have a `/` just after the `<` character.
testString: assert( code.match(/<\/label\>/) );
- text: Your radio button and its text should all be located between the opening and closing tags of the `label` element.
testString: |
const labelChildNodes = [ ...$('form > label')[0].childNodes ];
assert( labelChildNodes.filter(childNode => childNode.nodeName === "INPUT").length );
```
## Challenge Seed