---
id: 5ef9b03c81a63668521804e1
title: Step 49
challengeType: 0
dashedName: step-49
---
# --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 radio buttons.
# --hints--
Both radio buttons should still be located between opening and closing `label` element tags.
```js
const labelChildNodes = [...$('label')].map((node) => [...node.childNodes]);
assert(
labelChildNodes.filter((childNode) => childNode[0].nodeName === 'INPUT')
.length === 2
);
```
Your `fieldset` element should have an opening tag. Opening tags have the following syntax: ``.
```js
assert(document.querySelector('fieldset'));
```
Your `fieldset` element should have a closing tag. Closing tags have a `/` just after the `<` character.
```js
assert(code.match(/<\/fieldset\>/));
```
Both radio button and associated labels should be between the opening and closing tags of the `fieldset` element.
```js
const radioButtons = [...$('input[type="radio"]')];
assert(
radioButtons.every((btn) => btn.parentNode.parentNode.nodeName === 'FIELDSET')
);
```
# --seed--
## --seed-contents--
```html