---
id: 5ef9b03c81a63668521804e1
title: Part 49
challengeType: 0
isHidden: true
---
## Description
The `fieldset` element is used to group related inputs and labels together in a web form. `fieldset` elements are block-level elements, meaning that they appear on a new line.
Nest the `Indoor` and `Outdoor` radio buttons within a `fieldset` element, and don't forget to indent the buttons.
## Tests
```yml
tests:
- text: Both radio buttons should still be located between opening and closing `label` element tags.
testString: |
const labelChildNodes = [ ...$('label') ].map(node => [ ...node.childNodes ]);
assert( labelChildNodes.filter(childNode => childNode[0].nodeName === "INPUT").length === 2 );
- text: "Your `fieldset` element should have an opening tag. Opening tags have the following syntax: ``."
testString: assert( document.querySelector('fieldset') );
- text: Your `fieldset` element should have a closing tag. Closing tags have a `/` just after the `<` character.
testString: assert( code.match(/<\/fieldset\>/) );
- text: Both radio button and associated labels should be between the opening and closing tags of the `fieldset` element.
testString: |
const radioButtons = [ ...$('input[type="radio"]') ];
assert( radioButtons.every(btn => btn.parentNode.parentNode.nodeName === "FIELDSET") );
```
## Challenge Seed